Skip to content

Commit

Permalink
Use a stable version of php-http/discovery (#114)
Browse files Browse the repository at this point in the history
Use a stable version of php-http/discovery & dropping php 5.4
  • Loading branch information
Nyholm authored Jul 18, 2016
1 parent a065808 commit cd32acb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ language: php
sudo: false

php:
- 5.4
- 5.5
- 5.6
- 7.0
Expand Down
6 changes: 2 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit cd32acb

Please sign in to comment.