php-extended/php-http-client-curl

A psr-18 compliant client with the curl engine


README

A psr-18 compliant client with the curl engine.

coverage build status

Installation

The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.

  • Download composer.phar from their website.
  • Then run the following command to install this library as dependency :
  • php composer.phar php-extended/php-http-client-curl ^7

Basic Usage

This library is a client using the curl library compiled with php. This library may be used the following way :


use PhpExtended\HttpClient\CurlClient;

$curlProcessor = new CurlClient();
$response = $curlProcessor->sendRequest($request);
$response->getBody()->__toString();

License

MIT (See license file).