ossbrownie/http-client

A simple HTTP client for sending HTTP requests and receiving responses based on CURL.


Keywords
curl, http, client, response, request, httpclient, http-client, brownie, receiving responses
License
MIT

Documentation

HttpClient

License Latest Stable Version Latest Unstable Version Total Downloads

Scrutinizer Code Quality Code Coverage Code Intelligence Status Build Status

PHP Version

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