Before starting, be aware this package is deprecated in favor of php-http. That means bugfixes would be accepted but new features will not (except maybe for already opened PRs).
The library allows to issue HTTP requests with PHP 5.4.8+. The supported adapters are:
- Buzz
- Cake
- cURL
- FileGetContents
- Fopen
- Guzzle3
- Guzzle4
- Guzzle5
- Guzzle6
- Httpful
- Pecl Http
- React
- Requests
- Socket
- Zend1
- Zend2
Additionally, it follows the PSR-7 Standard which defines how http message should be implemented.
- Log requests, responses and exceptions
- Journalize requests and responses
- Throw exceptions for errored responses
- Retry errored requests
- Follow redirects
- Cache responses and exceptions
- Manage cookies
The library is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
We love contributors! The library is open source, if you'd like to contribute, feel free to propose a PR!
The Ivory Http Adapter is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.