ossbrownie / http-client
A simple HTTP client for sending HTTP requests and receiving responses based on CURL.
Installs: 2 048
Dependents: 2
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- ext-curl: *
- ossbrownie/util: ~0.0.5
Requires (Dev)
- php-coveralls/php-coveralls: ^2.1.0
- phpdocumentor/reflection-docblock: 2.0.5
- phpunit/phpunit: 4.8.35
README
A simple HTTP client for sending HTTP requests and receiving responses.
curl
A basic CURL wrapper for PHP (see http://php.net/curl for more information about the libcurl extension for PHP)
Requirements
- PHP >= 5.5
- EXT-CURL = *
- "ossbrownie/util" = ~0.0.5
Installation
Add a line to your "require" section in your composer configuration:
{ "require": { "ossbrownie/http-client": "0.0.7" } }
Documentation
- Usage - Example of using the HttpClient
Tests
To run the test suite, you need install the dependencies via composer, then run PHPUnit.
$> composer.phar install $> ./vendor/bin/phpunit --bootstrap ./tests/bootstrap.php ./tests
License
HttpClient is licensed under the MIT License
Contact
Problems, comments, and suggestions all welcome: oss.brownie@gmail.com