Update README.

[ci skip]
This commit is contained in:
Daniele Alessandri
2015-07-30 10:50:14 +02:00
parent a7ee80702c
commit b8bfd1405d
+2 -2
View File
@@ -33,7 +33,7 @@ More details about this project can be found on the [frequently asked questions]
- Abstraction for Lua scripting (Redis >= 2.6) with automatic switching between `EVALSHA` or `EVAL`.
- Abstraction for `SCAN`, `SSCAN`, `ZSCAN` and `HSCAN` (Redis >= 2.8) based on PHP iterators.
- Connections are established lazily by the client upon the first command and can be persisted.
- Connections can be established via TCP/IP (optionally TLS/SSL-encrypted) or UNIX domain sockets.
- Connections can be established via TCP/IP (also TLS/SSL-encrypted) or UNIX domain sockets.
- Support for [Webdis](http://webd.is) (requires both `ext-curl` and `ext-phpiredis`).
- Support for custom connection classes for providing different network or protocol backends.
- Flexible system for defining custom commands and server profiles.
@@ -112,7 +112,7 @@ an array of suitable [options](http://php.net/manual/context.ssl.php) passed in
// Named array of connection parameters:
$client = new Predis\Client([
'scheme' => 'tls',
'ssl' => ['cafile' => 'provate.pem', 'verify_peer' => true],
'ssl' => ['cafile' => 'private.pem', 'verify_peer' => true],
]
// Same set of parameters, but using an URI string: