Registry / http-client / hyperf-guzzle

hyperf-guzzle

JSON →
library3.2.0phppackagistunverified

Swoole coroutine handler for guzzle.

composer require hyperf/guzzle
INSTALL
IMPORT
SIG · HYPERF-GUZZLE
H
hyperf-guzzle
http-clientphpv3.2.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.

CoroutineHandler
✓ use Hyperf\Guzzle\CoroutineHandler;

Create a Guzzle client with Swoole coroutine support.

use Hyperf\Guzzle\CoroutineHandler; use GuzzleHttp\Client; $handler = new CoroutineHandler(); $client = new Client(['handler' => $handler]); $response = $client->get('https://example.com'); echo $response->getBody();
Debug
Known issues
breakingRequires Swoole extension to be installed.
fix
Install swoole via pecl or compile from source.
affects: *
Upgrade
Version history
3.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
Resources
hyperf-guzzle — pip install hyperf-guzzle · libregistry