blablacar / redis-client
BlaBlarCar Redis client
Installs: 113 473
Dependents: 2
Suggesters: 2
Security: 0
Stars: 7
Watchers: 74
Forks: 6
Open Issues: 0
Requires
- php: >=5.3.3
Requires (Dev)
- phpspec/prophecy: ~1.1
- phpunit/phpunit: ~3.7
README
This library provides a simple Redis connection wrapper.
Installation
The recommended way to install this library is through
Composer. Require the blablacar/redis-client
package
into your composer.json
file:
{ "require": { "blablacar/redis-client": "@stable" } }
Protip: you should browse the
blablacar/redis-client
page to choose a stable version to use, avoid the @stable
meta constraint.
Usage
Create a Client and you're done!
$client = new \Blablacar\Redis\Client('127.0.0.1', 6379); // Default values $client->set('foobar', 42); // Return 1
For more information about Redis extension see the nicolasff/phpredis.
License
Blablacar Redis client is released under the MIT License. See the bundled LICENSE file for details.