PHPackages                             apaoww/yii2-redis - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. apaoww/yii2-redis

ActiveYii2-extension[Database &amp; ORM](/categories/database)

apaoww/yii2-redis
=================

Yii 2 Redis extension with predis

01PHP

Since Sep 14Pushed 3y agoCompare

[ Source](https://github.com/apaoww/yii2-redis)[ Packagist](https://packagist.org/packages/apaoww/yii2-redis)[ RSS](/packages/apaoww-yii2-redis/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-redis
==========

[](#yii2-redis)

Using [Predis](https://github.com/nrk/predis) and yii2 combination This extension is fully compatible with the yii2-redis extension, and you can use predis only if you replace the configuration

Usage
=====

[](#usage)

1. Change your redis component configuration, There is no need to change any of the previous code, That's all right.

```
'redis' => [
    'class' => pavle\yii\redis\Connection::class,
    'parameters' => ['tcp://xx.xx.x.xx:30001', 'tcp://xx.xx.x.xx:30002', 'tcp://xx.xx.x.xx:30003'],
    //'parameters' => 'tcp://192.168.2.240:6379',
    'options' => ['cluster' => 'redis'],
],

```

2.More usage [yii2-redis Document](https://github.com/yiisoft/yii2-redis/blob/master/docs/guide/README.md)

3.Using the predis client

```
Yii::$app->redis->getClient();

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a775977f4705909feb9c4b573e420175096166c9084afb9084ac661f2e29dc16?d=identicon)[apaoww](/maintainers/apaoww)

---

Top Contributors

[![apaoww](https://avatars.githubusercontent.com/u/4974699?v=4)](https://github.com/apaoww "apaoww (1 commits)")

### Embed Badge

![Health badge](/badges/apaoww-yii2-redis/health.svg)

```
[![Health](https://phpackages.com/badges/apaoww-yii2-redis/health.svg)](https://phpackages.com/packages/apaoww-yii2-redis)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
