yiisoft/yii2-redis
Yii2 Redis extension providing Redis-backed cache, mutex, and session handlers plus an ActiveRecord layer for storing and querying structured data in Redis. Requires Redis 2.6.12+ and PHP 7.4+ (best on PHP 8).
Adopt if:
Look elsewhere if:
For Executives: "This package integrates Redis seamlessly into Yii2, enabling 3-5x faster caching and scalable sessions without rewriting core logic. For example, [Company X] reduced database load by 60% by offloading session storage to Redis, cutting infrastructure costs by $20K/year. It’s a low-risk, high-reward upgrade for performance-critical applications."
For Engineers:
*"Yii2-Redis provides first-class Redis support for caching (Cache), sessions (Session), and ActiveRecord (ActiveRecord), with minimal configuration. Key benefits:
FileCache/DbCache with Redis for sub-millisecond TTL-based caching.How can I help you explore Laravel packages today?