PHPackages                             gevman/yii2-redis-subscriber - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. gevman/yii2-redis-subscriber

ActivePackage[Utility &amp; Helpers](/categories/utility)

gevman/yii2-redis-subscriber
============================

Yii2 Redis Channel Subscriber implementation for yii2-redis

1.3.0(4y ago)2382MITPHP

Since May 25Pushed 4y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Yii2 Redis Subscriber
=====================

[](#yii2-redis-subscriber)

Yii2 Redis Channel Subscriber implementation for yii2-redis

installation
------------

[](#installation)

using composer

```
composer require gevman/yii2-redis-subscriber
```

- Configuration (pusher project)

```
'components' => [
    //...
    'redis' => [
        'class' => \yii\redis\Connection::class,
        'hostname' => 'localhost',
        'port' => 6379,
    ],
    //...
],
```

- Configuration (subscriber project)

```
'components' => [
    //...
    'redisSubscriber' => [
        'class' => \Gevman\Yii2RedisSubscriber\Connection::class,
        'hostname' => 'localhost',
        'port' => 6379,
    ],
    //...
],
```

Usage
-----

[](#usage)

- Push message to channel

```
\Yii::$app->redis->publish('some_channel', 'some message');
```

- Listen channel messages

```
\Yii::$app->redisSubscriber->listen(
    'some_channel',
    function($type, $channel, $message) {
        do_something($type, $channel, $message);
    },
    function(\Throwable $error) {
        \Yii::error($error->getMessage());
    }
);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~24 days

Total

3

Last Release

1764d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11891855?v=4)[Gevorg Mansuryan](/maintainers/gevorgmansuryan)[@gevorgmansuryan](https://github.com/gevorgmansuryan)

### Embed Badge

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

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

###  Alternatives

[tourze/workerman-yii2

541.3k](/packages/tourze-workerman-yii2)

PHPackages © 2026

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