edsi-tech / redis-guzzle-cache
There is no license information available for the latest version (0.3) of this package.
Package info
github.com/EDSI-Tech/RedisGuzzleCache
Type:symfony-bundle
pkg:composer/edsi-tech/redis-guzzle-cache
0.3
2015-04-07 07:38 UTC
Requires
- php: >=5.3.0
- doctrine/cache: ~1.3
- edsi-tech/redis-safe-client: ~0.1
- symfony/symfony: 2.*
This package is not auto-updated.
Last update: 2026-03-15 00:21:23 UTC
README
A simple redis cache for Guzzle.
Use with https://github.com/guzzle/cache-subscriber
Add the following to your composer.json:
{
"require": {
"edsi-tech/redis-guzzle-cache": "~0.2"
}
}
And use like that:
$client = new GuzzleHttp\Client(); CacheSubscriber::attach($client, [ 'storage' => new CacheStorage(new RedisGuzzleCache($redis, 'guzzle_cache_')) ]);