Skip to content

Library for creating redis instance depends on application / server possibilities

License

Notifications You must be signed in to change notification settings

riki137/redis-proxy

 
 

Repository files navigation

Redis proxy

Library for creating redis instance depends on application / server possibilities

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight Latest Stable Version Total Downloads PHP 7 ready

Installation

Composer

The fastest way to install Redis proxy is to add it to your project using Composer (http://getcomposer.org/).

  1. Install Composer:
    curl -sS https://getcomposer.org/installer | php
    
  2. Require Redis proxy as a dependency using Composer:
    php composer.phar require lulco/redis-proxy
    
  3. Install Redis proxy:
    php composer.phar update
    

Usage

$redis = new \RedisProxy\RedisProxy($host, $port);
$redis->select($database);
$redis->hset($key, $field, $value);
$redis->hlen($key);
$redis->hget($key, $field);
$redis->hgetall($key);
...

About

Library for creating redis instance depends on application / server possibilities

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%