Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple redis implementation
Branch: master

This branch is 5 commits behind ziogas:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
redis.php

README

PHP Redis implementation V2.0
==============

Simple and lightweight redis implementation, all commands are passed as is, so you have all the freedom to manage redis just like in redis-cli

DOWNLOAD
--------------
You could checkout latest version with:

    $ git clone git://github.com/ziogas/PHP-Redis-implementation


INSTALL
--------------
To install PHP redis:

* Simply copy redis.php to your site and require it from external script

Here some examples:

$redis = new redis_cli ();
$redis -> cmd ( 'SET', 'foo', 'bar' ) 
       -> cmd ( 'HSET', 'hash', 'field', 'val' )
       -> cmd ( 'EXPIRE', 300, 'foo' )
       -> set ();

$foo = $redis -> cmd ( 'GET', 'foo' ) -> get ();
$field = $redis -> cmd ( 'HGET', 'hash', 'field' ) -> get ();


LICENSE
--------------
LGPL


AUTHORS
-------------
Arminas Žukauskas <arminas ( at ) jojo ( dot ) lt>
Something went wrong with that request. Please try again.