Skip to content

Commit a9f5e72

Browse files
authored
Clarified PHP 5.5 support and added note about supporting both
1 parent 8b19139 commit a9f5e72

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Client-side PSR-7 Oauth1 request signer
1+
# Client-side PSR-7 Oauth1 request signer for PHP `^7.0`
22

33
[![Build Status](https://travis-ci.org/php-api-clients/psr7-oauth1.svg?branch=master)](https://travis-ci.org/php-api-clients/psr7-oauth1)
44
[![Latest Stable Version](https://poser.pugx.org/api-clients/psr7-oauth1/v/stable.png)](https://packagist.org/packages/api-clients/psr7-oauth1)
@@ -15,7 +15,13 @@ 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:
18+
In case you need to support `5.5+` as well in your package, we suggest you use the following command:
19+
20+
```bash
21+
composer require api-clients/psr7-oauth1:^1.0
22+
```
23+
24+
However since `1.0` and `2.0` of this package are 100% compatible, we reccomned you use the following command to support both:
1925

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

0 commit comments

Comments
 (0)