dspacelabs/http-client

This package is abandoned and no longer maintained. No replacement package was suggested.

Simple PHP HTTP Client Library

v0.1.2 2017-06-27 03:08 UTC

This package is not auto-updated.

Last update: 2020-06-02 23:00:53 UTC


README

Simple HTTP Client used for PHP and making web requests.

Installation

composer require dspacelabs/http-client

Examples

Making a Web Request

use Dspacelabs\Component\Http\Client\Client;

$client = new Client();

// @var \Psr\Http\Message\Request $request
// @var \Psr\Http\Message\Response $response
$response = $client->sendWithRequest($request);