From a9f5e7260df19084c212a5ad37799e1efd4fcc65 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Fri, 25 Nov 2016 16:40:27 +0100 Subject: [PATCH] Clarified PHP 5.5 support and added note about supporting both --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b743553..cf3687b 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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"