soupmix / cache-redis
Framework agnostic Redis adapter for SimpleCache Interface.
Installs: 361
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 2
Forks: 2
Open Issues: 0
pkg:composer/soupmix/cache-redis
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);