Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 432 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 432 Bytes

dspacelabs/http-client

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