2017 © Pedro Peláez
 

library redisphpwrapper

redis Wrapper

image

gonzalo123/redisphpwrapper

redis Wrapper

  • Friday, October 6, 2017
  • by gonzalo123
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PHP Redis cache wrapper

Build Status, (*1)

Simple cache wrapper build in top of Predis/Redis, (*2)

usage:, (*3)

use G\Redis\Cache;
use Predis\Client;

$cache = new Cache(new Client(json_decode(file_get_contents(__DIR__ . '/conf.json'), true)));

$value = $cache->get("aaa.aaa.aaa", function () {
    return [
        'a' => 1,
    ];
});

$cache->delete("aaa.aaa.aaa");

The Versions

06/10 2017

dev-master

9999999-dev

redis Wrapper

  Sources   Download

MIT

The Requires

 

redis gearman