Skip to content

Commit

Permalink
Add swagger-php version ^2
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed Sep 14, 2023
1 parent 3da59fd commit 5eb3288
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Generate interactive [Swagger](http://swagger.io) documentation for your RESTful
## Installation (with [Composer](https://getcomposer.org))

```sh
composer require zircote/swagger-php
composer require zircote/swagger-php ^2
```

For cli usage from anywhere install swagger-php globally and make sure to place the `~/.composer/vendor/bin` directory in your PATH so the `swagger` executable can be located by your system.

```sh
composer global require zircote/swagger-php
composer global require zircote/swagger-php ^2
```

## Usage
Expand Down

0 comments on commit 5eb3288

Please sign in to comment.