A simple HTTP client for sending HTTP requests and receiving responses.
A basic CURL wrapper for PHP (see http://php.net/curl for more information about the libcurl extension for PHP)
- PHP >= 5.5
- EXT-CURL = *
- "ossbrownie/util" = ~0.0.5
Add a line to your "require" section in your composer configuration:
{
"require": {
"ossbrownie/http-client": "0.0.7"
}
}- Usage - Example of using the HttpClient
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 ./testsHttpClient is licensed under the MIT License
Problems, comments, and suggestions all welcome: oss.brownie@gmail.com

