2017 © Pedro Peláez
 

symfony-bundle redis-guzzle-cache

image

edsi-tech/redis-guzzle-cache

  • Tuesday, April 7, 2015
  • by Kevinrob
  • Repository
  • 3 Watchers
  • 0 Stars
  • 60 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

RedisGuzzleCache

A simple redis cache for Guzzle.
Use with https://github.com/guzzle/cache-subscriber, (*1)

Add the following to your composer.json:, (*2)

{
    "require": {
        "edsi-tech/redis-guzzle-cache": "~0.2"
    }
}

And use like that:, (*3)

$client = new GuzzleHttp\Client();
CacheSubscriber::attach($client, [
    'storage' => new CacheStorage(new RedisGuzzleCache($redis, 'guzzle_cache_'))
]);

The Versions