Skip to content

Commit

Permalink
Added a readme note about 1.0 and 2.0 versions, and the command to al…
Browse files Browse the repository at this point in the history
…low them both as they're compatible
  • Loading branch information
WyriHaximus committed Nov 22, 2016
1 parent 66f8b0d commit 8b19139
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ To install via [Composer](http://getcomposer.org/), use the command below, it wi
composer require api-clients/psr7-oauth1
```

In case you want to support both PHP `7.0+` and `5.5+` in your package, we suggest you use the following command:

```bash
composer require "api-clients/psr7-oauth1:^2.0 || ^1.0"
```

# Example

```php
Expand Down

0 comments on commit 8b19139

Please sign in to comment.