Registry / http-client / php-http-curl-client

php-http-curl-client

JSON →
library2.4.0phppackagistunverified

PSR-18 and HTTPlug Async client with cURL

composer require php-http/curl-client
INSTALL
IMPORT
SIG · PHP-HTTP-CURL-CLIE
P
php-http-curl-client
http-clientphpv2.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Http\Client\Curl\Client;

Send an HTTP request using the cURL client

use Http\Client\Curl\Client; use Psr\Http\Message\RequestInterface; $client = new Client(); $request = new \GuzzleHttp\Psr7\Request('GET', 'https://example.com'); $response = $client->sendRequest($request);
Debug
Known issues
breakingRequires ext-curl and ext-json
fix
Install PHP cURL and JSON extensions
affects: *
Upgrade
Version history
2.4.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
php-http-curl-client — pip install php-http-curl-client · libregistry