Redis-based cache storage implementation for ZzzCache
Run through composer
$ composer require juhara/zzzredis
<?php
$redisClient = new \Predis\Client();
$redisCache = new \Juhara\ZzzCache\Storages\Redis($redisClient);
$cache = new \Juhara\ZzzCache\Cache(
$redisCache,
new \Juhara\ZzzCache\Helpers\ExpiryCalculator()
);
If you have any improvement or issues please submit PR.
Thank you.