egeloen/http-adapter
最新稳定版本:1.0.2
Composer 安装命令:
composer require egeloen/http-adapter
包简介
Issue HTTP request for PHP 5.4.8+.
README 文档
README
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).
Introduction
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.
Documentation
Cookbook
- 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
Testing
The library is fully unit tested by PHPUnit with a code coverage close to 100%. To execute the test suite, check the travis configuration.
Contribute
We love contributors! The library is open source, if you'd like to contribute, feel free to propose a PR! You can follow the CONTRIBUTING file which will explain you how to set up the project.
License
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.
统计信息
- 总下载量: 8.08M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 158
- 点击次数: 1
- 依赖项目数: 22
- 推荐数: 15
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-02