ossbrownie/http-client

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

Installs: 2 147

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/ossbrownie/http-client

0.0.7 2019-03-25 05:41 UTC

This package is auto-updated.

Last update: 2025-09-25 19:56:23 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