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

This package is auto-updated.

Last update: 2021-06-26 21:45:42 UTC


README

Build Status Scrutinizer Code Quality Codacy Badge Code Climate Latest Stable Version Total Downloads Latest Unstable Version License composer.lock Code Coverage

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);

Soupmix Redis Cache API

See Soupmix Cache API