Skip to content

Commit 8b19139

Browse files
committed
Added a readme note about 1.0 and 2.0 versions, and the command to allow them both as they're compatible
1 parent 66f8b0d commit 8b19139

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ To install via [Composer](http://getcomposer.org/), use the command below, it wi
1515
composer require api-clients/psr7-oauth1
1616
```
1717

18+
In case you want to support both PHP `7.0+` and `5.5+` in your package, we suggest you use the following command:
19+
20+
```bash
21+
composer require "api-clients/psr7-oauth1:^2.0 || ^1.0"
22+
```
23+
1824
# Example
1925

2026
```php

0 commit comments

Comments
 (0)