soupmix / cache-redis
This package is abandoned and no longer maintained.
The author suggests using the soupmix/cache package instead.
Framework agnostic Redis adapter for SimpleCache Interface.
0.3.2
2017-01-06 19:59 UTC
Requires
- php: >=5.6
- ext-redis: *
- soupmix/cache-base: ~0.2
Requires (Dev)
- phpunit/phpcov: ^3.1.0
- phpunit/phpunit: ^5.4.0
- satooshi/php-coveralls: ~1.0
Provides
README
Installation
It's recommended that you use Composer to install Soupmix Cache Redis Adaptor.
$ composer require soupmix/cache-redis "~0.3"
Connection
require_once '/path/to/composer/vendor/autoload.php'; $rConfig = ['host'=> "127.0.0.1"]; $handler = new Redis(); $handler->connect( $rConfig['host'] ); $cache = new Soupmix\Cache\RedisCache($handler);