Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2020-01-24 18:25:05 +0300
committerMichael Grunder <michael.grunder@gmail.com>2020-02-07 01:14:46 +0300
commit5a609fa425bffc72668378e0b07a6aea2e234bcd (patch)
tree07d9785bb279bbf2fd41f5a196fe4febdec5b67b /README.markdown
parent46da22b09b31a9d2ad8a6403f9684c99cf7ee60b (diff)
Add documentation
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index a9a3f759..965243b7 100644
--- a/README.markdown
+++ b/README.markdown
@@ -23,6 +23,7 @@ If you've found phpredis useful and would like to buy the maintainers a coffee (
* [PHP Session handler](#php-session-handler)
* [Distributed Redis Array](#distributed-redis-array)
* [Redis Cluster support](#redis-cluster-support)
+ * [Redis Sentinel support](#redis-sentinel-support)
* [Running the unit tests](#running-the-unit-tests)
1. [Classes and methods](#classes-and-methods)
* [Usage](#usage)
@@ -97,6 +98,10 @@ See [dedicated page](./arrays.markdown#readme).
See [dedicated page](./cluster.markdown#readme).
+## Redis Sentinel support
+
+See [dedicated page](./sentinel.markdown#readme).
+
## Running the unit tests
phpredis uses a small custom unit test suite for testing functionality of the various classes. To run tests, simply do the following:
@@ -114,6 +119,9 @@ tests/mkring.sh stop
tests/make-cluster.sh start
php tests/TestRedis.php --class RedisCluster
tests/make-cluster.sh stop
+
+# Run tests for RedisSentinel class
+php tests/TestRedis.php --class RedisSentinel
~~~
Note that it is possible to run only tests which match a substring of the test itself by passing the additional argument '--test <str>' when invoking.