Redis is an open source, advanced key-value pair storage database. Since it contains strings, hashes, lists, collections, and ordered collections of these data types, it is often referred to as a data structure server.

The default driver for Swoft Redis is the phpRedis driver. By default, the phpRedis extension is required. You can install the PhpRedis PHP extension via PECL. This extension is more complicated to install, but it may produce better performance for applications that use Redis a lot.

If you need to use predis/predis you can also refer to the redis 配置 chapter.