You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RedisClient is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports latests versions of Redis starting from 2.6
7
+
8
+
## Main features
9
+
- Support Redis versions from __2.6__ to __3.2-RC1__.
10
+
- Support TCP/IP and UNIX sockets.
11
+
- Support __PubSub__ and __monitor__ functionallity.
12
+
- Support __pipeline__.
13
+
- Connections to Redis are established lazily by the client upon the first command.
14
+
- Easy to use with IDE, client has PHPDocs for all supported versions.
15
+
16
+
## Usage
17
+
18
+
### Create a new instance of RedisClient
19
+
```php
20
+
<?php
21
+
require (dirname(__DIR__).'/src/autoloader.php');
22
+
// or require ('vendor/autoload.php');
23
+
24
+
use RedisClient\RedisClient;
25
+
use RedisClient\Client\Version\RedisClient2x6;
26
+
27
+
$Redis = new RedisClient([
28
+
'server' => 'tcp://127.0.0.1:6379', // or 'unix:///tmp/redis.sock'
0 commit comments