Download the PHP package yiisoft/yii2-redis without Composer
On this page you can find all versions of the php package yiisoft/yii2-redis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-redis
Redis Cache, Session and ActiveRecord for Yii 2
This extension provides [redis](https://redis.io/) key-value store support for the [Yii framework 2.0](https://www.yiiframework.com).
It provides `Cache`, `Mutex`, and `Session` handlers, as well as an `ActiveRecord` implementation that allows
you to store and query structured data in a familiar way.
[](https://packagist.org/packages/yiisoft/yii2-redis)
[](https://packagist.org/packages/yiisoft/yii2-redis)
[](https://github.com/yiisoft/yii2-redis/actions?query=workflow%3Abuild)
[](https://codecov.io/gh/yiisoft/yii2-redis)
[](https://github.com/yiisoft/yii2-redis/actions/workflows/static.yml)
Requirements
------------
Redis version 2.6.12 or later is required for all components to work properly.
Installation
------------
> [!IMPORTANT]
> - The minimum required [PHP](https://www.php.net/) version is PHP `7.4`.
> - It works best with PHP `8`.
The preferred way to install this extension is through [composer](https://getcomposer.org/download/).
Either run
or add
to the require section of your composer.json.
Configuration
-------------
To use this extension, you have to configure the Connection class in your application configuration:
**SSL configuration** example:
**Configuring The Connection Scheme**
By default, Redis will use the tcp scheme when connecting to your Redis server; however, you may use TLS / SSL encryption by specifying a scheme configuration option in your application configuration:
## Documentation
- [the guide](docs/guide/README.md)
## Support the project
[](https://opencollective.com/yiisoft)
## Follow updates
[](https://www.yiiframework.com/)
[](https://x.com/yiiframework)
[](https://t.me/yii_framework_in_english)
[](https://yiiframework.com/go/slack)
## License
[](LICENSE.md)
All versions of yii2-redis with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
ext-openssl Version *
yiisoft/yii2 Version ~2.0.54
predis/predis Version ^3.4
ext-openssl Version *
yiisoft/yii2 Version ~2.0.54
predis/predis Version ^3.4
The package yiisoft/yii2-redis contains the following files
Loading the files please wait ...