# Installation

HTML: [altophp.com/language/installation](https://altophp.com/language/installation/)

Alto Language requires PHP 8.4 or later and has no runtime dependencies.

```bash
composer require alto/language
```

## Verify the installation

```php
<?php

require __DIR__.'/vendor/autoload.php';

use Alto\Language\Languages;

echo Languages::fromExtension('.php')?->name;
```

The script prints `PHP`.

---

Previous: [Alto Language](https://altophp.com/language/index.md)
Next: [Getting started](https://altophp.com/language/getting-started.md)

---

ALTO\LANGUAGE: [altophp.com/language](https://altophp.com/language/)
ALTO(PHP): [altophp.com](https://altophp.com/)
