> ## Documentation Index
> Fetch the complete documentation index at: https://phiki.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 3-step intro

> A quick guide to get you started with Phiki.

<Steps>
  <Step title="Install Phiki">
    ```sh theme={null}
    composer require phiki/phiki:^2.0
    ```
  </Step>

  <Step title="Create a new Phiki instance">
    ```php lines theme={null}
    use Phiki\Phiki;

    $phiki = new Phiki();
    ```
  </Step>

  <Step title="Highlight your code">
    ```php lines theme={null}
    use Phiki\Grammar\Grammar;
    use Phiki\Theme\Theme;

    $code = file_get_contents('path/to/your/code.php');
    $highlighted = $phiki->codeToHtml($code, Grammar::Php, Theme::GithubLight);

    echo $highlighted;
    ```
  </Step>
</Steps>
