From cd32acbbb157fd2dde5c789e030ddb2816905510 Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Mon, 18 Jul 2016 15:07:05 +0200 Subject: [PATCH] Use a stable version of php-http/discovery (#114) Use a stable version of php-http/discovery & dropping php 5.4 --- .travis.yml | 1 - Readme.md | 6 ++---- composer.json | 6 +++--- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6321ff6..a76064b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: php sudo: false php: - - 5.4 - 5.5 - 5.6 - 7.0 diff --git a/Readme.md b/Readme.md index c8fe21b..51bda51 100644 --- a/Readme.md +++ b/Readme.md @@ -32,10 +32,10 @@ composer require happyr/linkedin-api-client ``` This library does not have a dependency on Guzzle or any other library that sends HTTP requests. We use the awesome -Httplug to achieve the decoupling. We want you to choose what library to use for sending HTTP requests. Consult this list +HTTPlug to achieve the decoupling. We want you to choose what library to use for sending HTTP requests. Consult this list ofthis list virtual packages that support [php-http/client-implementation](https://packagist.org/providers/php-http/client-implementation) find clients to use. For more information about virtual packages please refer to -[Httplug](http://docs.php-http.org/en/latest/httplug/users.html). Example: +[HTTPlug](http://docs.php-http.org/en/latest/httplug/users.html). Example: ```bash composer require php-http/guzzle6-adapter @@ -56,8 +56,6 @@ $linkedIn->setHttpMessageFactory(new Http\Message\MessageFactory\GuzzleMessageFa ``` -If you do not provide anything we will fallback on using auto discovery with [Puli](http://docs.puli.io/en/latest/). It will automatically find the -client you have installed. ## Usage diff --git a/composer.json b/composer.json index de99bed..3ab668a 100644 --- a/composer.json +++ b/composer.json @@ -12,15 +12,15 @@ } ], "require": { - "php": "^5.4|^7.0", + "php": "^5.5 || ^7.0", "php-http/client-implementation": "^1.0", "php-http/httplug": "^1.0", "php-http/message": "^1.0", "php-http/message-factory": "^1.0", - "php-http/discovery": "^0.9" + "php-http/discovery": "^1.0" }, "require-dev": { - "php-http/guzzle5-adapter": "^0.6", + "php-http/guzzle5-adapter": "^1.0", "guzzlehttp/psr7": "^1.2", "mockery/mockery": "^0.9", "illuminate/support": "^5.0"