|
1 | 1 | [](http://opensource.org/licenses/MIT)
|
2 | 2 | [](https://packagist.org/packages/cheprasov/php-redis-client)
|
3 | 3 | [](https://packagist.org/packages/cheprasov/php-redis-client)
|
4 |
| -# RedisClient v1.9.1 for PHP >= 5.5 |
| 4 | +# RedisClient v1.10.0 for PHP >= 5.5 |
5 | 5 |
|
6 | 6 | ## About
|
7 |
| -RedisClient is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from __2.6__ to __5.0__ |
| 7 | +RedisClient is a fast, fully-functional and user-friendly client for Redis, optimized for performance. RedisClient supports the latest versions of Redis starting from __2.6__ to __6.0__ |
8 | 8 |
|
9 | 9 | ## Main features
|
10 |
| -- Support Redis versions from __2.6.x__ to __5.0.x__. |
| 10 | +- Support Redis versions from __2.6.x__ to __6.0.x__. |
11 | 11 | - Support __TCP/IP__ and __UNIX__ sockets.
|
12 | 12 | - Support __PubSub__ and __Monitor__ functionallity.
|
13 | 13 | - Support __Pipeline__ and __Transactions__.
|
14 | 14 | - Support __Redis Cluster__.
|
15 | 15 | - Support __RAW__ commands as arrays `['SET', 'foo', 'bar']`.
|
16 | 16 | - Connections to Redis are established lazily by the client upon the first command.
|
17 | 17 | - Easy to use with IDE, client has PHPDocs for all supported versions.
|
18 |
| -- By default, the client works with the latest stable version of Redis (5.0). |
19 |
| -- The client was tested on the next latest versions of Redis: `5.0.5`, `4.0.14`, `3.2.8`, `3.0.7`, `2.8.24`, `2.6.17`. |
20 |
| -- Also, the client was tested on PHP `7.3`, `7.2`, `7.1`, `7.0`, `5.6`, `5.5`, `HHVM`. |
| 18 | +- By default, the client works with the latest stable version of Redis (6.0). |
| 19 | +- The client was tested on the next latest versions of Redis: `6.0.5`, `5.0.5`, `4.0.14`, `3.2.8`, `3.0.7`, `2.8.24`, `2.6.17`. |
| 20 | +- Also, the client was tested on PHP `7.4`, `7.3`, `7.2`, `7.1`, `7.0`, `5.6`, `5.5`, `HHVM`. |
21 | 21 |
|
22 | 22 | ## Redis Commands
|
23 | 23 |
|
@@ -100,11 +100,11 @@ use RedisClient\RedisClient;
|
100 | 100 | use RedisClient\Client\Version\RedisClient2x6;
|
101 | 101 | use RedisClient\ClientFactory;
|
102 | 102 |
|
103 |
| -// Example 1. Create new Instance for Redis version 2.8.x with config via factory |
| 103 | +// Example 1. Create new Instance for Redis version 6.0.x with config via factory |
104 | 104 | $Redis = ClientFactory::create([
|
105 | 105 | 'server' => '127.0.0.1:6379', // or 'unix:///tmp/redis.sock'
|
106 | 106 | 'timeout' => 2,
|
107 |
| - 'version' => '2.8.24' |
| 107 | + 'version' => '6.0' |
108 | 108 | ]);
|
109 | 109 |
|
110 | 110 | echo 'RedisClient: '. $Redis->getSupportedVersion() . PHP_EOL; // RedisClient: 2.8
|
@@ -135,8 +135,8 @@ $Redis = new RedisClient2x6([
|
135 | 135 | ]);
|
136 | 136 |
|
137 | 137 | echo 'RedisClient: '. $Redis->getSupportedVersion() . PHP_EOL; // RedisClient: 2.6
|
138 |
| - |
139 | 138 | ```
|
| 139 | + |
140 | 140 | ### Example
|
141 | 141 | Please, see examples here: https://github.com/cheprasov/php-redis-client/tree/master/examples
|
142 | 142 |
|
|
0 commit comments