# Installation

## Per project

We recommend adding `swagger-php` to your project using [Composer](https://getcomposer.org)

```shell
> composer require zircote/swagger-php
```

## Globally

Alternatively, use the composer `global` argument to install `swagger-php` globally.

```ell
> composer global require zircote/swagger-php
```
::: warning PATH variables
Remember to add the `~/.composer/vendor/bin` directory to the PATH in your environment.
:::
