README.md 1.8 KB

HttpAdapter

This PHP 5.3+ library provides you simple HTTP adapters.

Build Status Coverage Status

Installation

This library can be found on Packagist. The recommended way to install this is through composer.

Run these commands to install composer, the library and its dependencies:

$ curl -sS https://getcomposer.org/installer | php
$ php composer.phar require toin0u/http-adapter:@stable

Usage

Currently, these following adapters are available:

  • CurlHttpAdapter to use cURL.
  • BuzzHttpAdapter to use Buzz, a lightweight PHP 5.3 library for issuing HTTP requests.
  • GuzzleHttpAdapter to use Guzzle, PHP 5.3+ HTTP client and framework for building RESTful web service clients.
  • ZendHttpAdapter to use Zend Http Client.
  • SocketHttpAdapter to use a socket.

Credits

Acknowledgment

Support

Please open an issues in github

License

HttpAdapter is released under the MIT License. See the bundled LICENSE file for details.