Skip to content

Commit

Permalink
Clarified PHP 5.5 support and added note about supporting both
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus authored Nov 25, 2016
1 parent 8b19139 commit a9f5e72
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Client-side PSR-7 Oauth1 request signer
# Client-side PSR-7 Oauth1 request signer for PHP `^7.0`

[![Build Status](https://travis-ci.org/php-api-clients/psr7-oauth1.svg?branch=master)](https://travis-ci.org/php-api-clients/psr7-oauth1)
[![Latest Stable Version](https://poser.pugx.org/api-clients/psr7-oauth1/v/stable.png)](https://packagist.org/packages/api-clients/psr7-oauth1)
Expand All @@ -15,7 +15,13 @@ 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:
In case you need to support `5.5+` as well in your package, we suggest you use the following command:

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

However since `1.0` and `2.0` of this package are 100% compatible, we reccomned you use the following command to support both:

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

0 comments on commit a9f5e72

Please sign in to comment.