2017 © Pedro Peláez
 

library cache-phpredis

Redis PHP extension implementation for dc/cache

image

dc/cache-phpredis

Redis PHP extension implementation for dc/cache

  • Wednesday, December 14, 2016
  • by vegardlarsen
  • Repository
  • 2 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DC\Cache - Caching interface, (*1)

Installation

$ composer require dc/cache-phpredis

Or add it to composer.json:, (*2)

"require": {
    "dc/cache-phpredis": "0.*",
}
$ composer install

Getting started

Provide either a \Redis connection or a hostname and port., (*3)

$cache = new \DC\Cache\Implementations\Redis\Cache('127.0.0.1', 6379);
// or
$redis = new \Redis();
$redis->connect('127.0.0.1');
$cache = new \DC\Cache\Implementations\Redis\Cache($redis);

Otherwise, use it according to the interface., (*4)

The Versions

14/12 2016

dev-master

9999999-dev http://github.com/digitalcreations/cache-phpredis

Redis PHP extension implementation for dc/cache

  Sources   Download

MIT

The Requires

 

The Development Requires

cache redis phpredis