Guides 11791 Published by

The Geek Stuff shows you how to use Redis with PHP



Redis is an open source, in-memory advanced key-value store. It is one of the fastest NoSQL database. Moreover, Redis cache store is a more advanced data-structure than memcached service.

For using Redis cache, we will have to pick a client. There are many PHP clients listed on its official website out of which phpredis is widely popular.

In this tutorial, we’ll use the API provided by “phpredis” extension to communicate with redis.
  How to Use Redis with PHP using PhpRedis with Examples