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

# Installation

> To get started with Vista, you need to have PHP 8.4 installed on your system.

You can install Vista via Composer. Run the following command in your terminal:

```bash theme={null}
composer require nullaidev/vista
```

<Card title="Composer" icon="php" href="https://packagist.org/packages/nullaidev/vista">
  Access on packagist.org
</Card>

## Entry Point

Now, create a View and render it from your project main entry point, such as a typical `public/index.php`:

```php theme={null}
require_once __DIR__ . '/../vendor/autoload.php';
const NULLAI_VISTA_VIEWS_FOLDER = __DIR__ . '/views';

echo new \Nullai\Vista\View('home');
```

For each page you can provide a new view.
