Registry / http-client / guzzlehttp-cache-subscriber

guzzlehttp-cache-subscriber

JSON →
library0.2.0phppackagistunverified

Guzzle HTTP cache subscriber

composer require guzzlehttp/cache-subscriber
INSTALL
IMPORT
SIG · GUZZLEHTTP-CACHE-S
G
guzzlehttp-cache-subscriber
http-clientphpv0.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.

CacheSubscriber
use GuzzleHttp\Subscriber\Cache\CacheSubscriber;

Attach cache subscriber to Guzzle client

use GuzzleHttp\Client; use GuzzleHttp\Subscriber\Cache\CacheSubscriber; $client = new Client(); CacheSubscriber::attach($client); $response = $client->get('http://example.com');
Debug
Known issues
breakingThis package is abandoned and no longer maintained; use guzzlehttp/guzzle with PSR-6 cache middleware instead.
fix
Migrate to guzzlehttp/guzzle 6+ with kevinrob/guzzle-cache-middleware or similar.
affects: >=0.1.0
Upgrade
Version history
0.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
16
OpenAI (training)
2
Resources
guzzlehttp-cache-subscriber — pip install guzzlehttp-cache-subscriber · libregistry