2017 © Pedro Peláez
 

library key-value-store-redis

Key-value redis store through predis/predis package.

image

adammbalogh/key-value-store-redis

Key-value redis store through predis/predis package.

  • Monday, October 20, 2014
  • by adammbalogh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,276 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 1 Forks
  • 0 Open issues
  • 6 Versions
  • 1 % Grown

The README.md

Key Value Redis Store

Author Build Status Coverage Status Quality Score Software License Packagist Version Total Downloads, (*1)

SensioLabsInsight, (*2)

Description

This library provides a layer to a key value redis store., (*3)

It uses the predis/predis package., (*4)

Check out the abstract library to see the other adapters and the Api., (*5)

Installation

Install it through composer., (*6)

{
    "require": {
        "adammbalogh/key-value-store-redis": "@stable"
    }
}

tip: you should browse the adammbalogh/key-value-store-redis page to choose a stable version to use, avoid the @stable meta constraint., (*7)

Usage

<?php
use AdammBalogh\KeyValueStore\KeyValueStore;
use AdammBalogh\KeyValueStore\Adapter\RedisAdapter as Adapter;
use Predis\Client as RedisClient;

$redisClient = new RedisClient();

$adapter = new Adapter($redisClient);

$kvs = new KeyValueStore($adapter);

$kvs->set('sample_key', 'Sample value');
$kvs->get('sample_key');
$kvs->delete('sample_key');

API

Please visit the API link in the abstract library., (*8)

Toolset

Key Value Server
✔ delete ✔ get ✔ flush
✔ expire ✔ set
✔ getTtl
✔ has
✔ persist

Support

Support with Gittip, (*9)

The Versions

20/10 2014

dev-master

9999999-dev

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis

20/10 2014

0.5.1

0.5.1.0

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis

16/10 2014

0.5.0

0.5.0.0

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis

13/10 2014

0.4.0

0.4.0.0

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis

30/09 2014

0.3.1

0.3.1.0

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis

29/09 2014

0.3.0

0.3.0.0

Key-value redis store through predis/predis package.

  Sources   Download

MIT

The Requires

 

The Development Requires

redis predis nosql store key value key-value key-value-redis