php-http-client-curl

A psr-18 compliant client with the curl engine

MIT License

Downloads
21.1K
Stars
0
Committers
1

php-extended/php-http-client-curl

A psr-18 compliant client with the curl engine.

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).

Package Rankings
Top 18.93% on Packagist.org
Related Projects