PHPackages                             realbattletoad/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. realbattletoad/yii2-redis

ActiveYii2-extension

realbattletoad/yii2-redis
=========================

1.0.4(4y ago)012MITPHPPHP &gt;=7.2

Since Jan 28Pushed 4y agoCompare

[ Source](https://github.com/realbattletoad/yii2-redis)[ Packagist](https://packagist.org/packages/realbattletoad/yii2-redis)[ RSS](/packages/realbattletoad-yii2-redis/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (6)Used By (0)

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

[](#yii2-redis)

Fork of [trorg/yii2-redis](https://github.com/trorg/yii2-redis)

Simple integration of [phpredis](https://github.com/phpredis/phpredis).

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist realbattletoad/yii2-redis:"1.*"

```

or add

```
"realbattletoad/yii2-redis": "1.*"
```

to the require section of your composer.json.

Configuration
-------------

[](#configuration)

To use this extension, you have to configure the Connection class in your application configuration:

Simple, with one server

```
return [
    //....
    'components' => [
        'redis' => [
            'class' => 'realbattletoad\yii2\redis\Connection',
            'servers' => [
                'server1:6379',
            ],
        ],
    ]
];
```

Redis cluster or Array distribution or Sentinels

```
return [
    //....
    'components' => [
        'redis' => [
            'class' => 'realbattletoad\yii2\redis\Connection',
            'servers' => [
                'server1:6379',
                'server2:6379',
                'server3:6379',
            ],
            'cluster' => 'redis', // or 'array' // or 'sentinels'
        ],
    ]
];
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~134 days

Total

5

Last Release

1762d ago

PHP version history (2 changes)1.0PHP &gt;=7.1

1.0.4PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![realbattletoad](https://avatars.githubusercontent.com/u/21360048?v=4)](https://github.com/realbattletoad "realbattletoad (5 commits)")

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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