ossbrownie/http-client

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

0.0.7 2019-03-25 05:41 UTC

This package is auto-updated.

Last update: 2024-03-25 16:59:14 UTC


README

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