PHPackages                             luckynvic/yii2-queue-monitor - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. luckynvic/yii2-queue-monitor

ActiveYii2-extension[Queues &amp; Workers](/categories/queues)

luckynvic/yii2-queue-monitor
============================

Yii2 Queue Analytics Module

0.3.8(2y ago)0256BSD-3-ClausePHPPHP &gt;=5.5.0

Since Mar 4Pushed 2y agoCompare

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

READMEChangelog (4)Dependencies (6)Versions (14)Used By (0)

Yii2 Queue Analytics Module
===========================

[](#yii2-queue-analytics-module)

The module collects statistics about working of queues of an application, and provides web interface for research. Also the module allows to stop and replay any jobs manually.

This library is fork of . Major change is storage to mongodb.

[![Latest Stable Version](https://camo.githubusercontent.com/9b1f779c99bcee794d13165f26d272070bbdf4f707487862753e1421b7240875/68747470733a2f2f706f7365722e707567782e6f72672f7a68757261766c6a6f762f796969322d71756575652d6d6f6e69746f722f762f737461626c652e737667)](https://packagist.org/packages/zhuravljov/yii2-queue-monitor)[![Total Downloads](https://camo.githubusercontent.com/52938a9f77997dc0a0f55b3ecf941eb5d4bd2e116870ad945cc355b2d7289e8b/68747470733a2f2f706f7365722e707567782e6f72672f7a68757261766c6a6f762f796969322d71756575652d6d6f6e69746f722f646f776e6c6f6164732e737667)](https://packagist.org/packages/zhuravljov/yii2-queue-monitor)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/fbf620ea9e631f6b8486c38d159e12ef20d040eac35a222f5a1099ecf6d6f81c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7a68757261766c6a6f762f796969322d71756575652d6d6f6e69746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/zhuravljov/yii2-queue-monitor/?branch=master)

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

[](#installation)

The preferred way to install the extension is through [composer](http://getcomposer.org/download/). Add to the require section of your `composer.json` file:

```
"zhuravljov/yii2-queue-monitor": "~0.1"

```

Usage
-----

[](#usage)

To configure the statistics collector, you need to add monitor behavior for each queue component. Update common config file:

```
return [
    'components' => [
        'queue' => [
            // ...
            'as jobMonitor' => \zhuravljov\yii\queue\monitor\JobMonitor::class,
            'as workerMonitor' => \zhuravljov\yii\queue\monitor\WorkerMonitor::class,
        ],
    ],
];
```

There are storage options that you can configure by common config file:

```
return [
    'container' => [
        'singletons' => [
            \zhuravljov\yii\queue\monitor\Env::class => [
                'cache' => 'cache',
                'db' => 'mongodb',
                'pushTableName'   => 'queue_push',
                'execTableName'   => 'queue_exec',
                'workerTableName' => 'queue_worker',
            ],
        ],
    ],
];
```

### Web

[](#web)

Finally, modify your web config file to turn on web interface:

```
return [
    'bootstrap' => [
        'monitor',
    ],
    'modules' => [
        'monitor' => [
            'class' => \zhuravljov\yii\queue\monitor\Module::class,
        ],
    ],
];
```

It will be available by URL `http://yourhost.com/monitor`.

### Console

[](#console)

There is console garbage collector:

```
'controllerMap' => [
    'monitor' => [
        'class' => \zhuravljov\yii\queue\monitor\console\GcController::class,
    ],
],
```

It can be executed as:

```
php yii monitor/clear-deprecated P1D
```

Where `P1D` is [interval spec](https://www.php.net/manual/en/dateinterval.construct.php) that specifies to delete all records one day older.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.1% 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 ~144 days

Recently: every ~303 days

Total

13

Last Release

892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/47a928ee8a58eaec5ed10e190ef0dc1da23883f8ed00ef699c4e896405aded8e?d=identicon)[luckynvic](/maintainers/luckynvic)

---

Top Contributors

[![zhuravljov](https://avatars.githubusercontent.com/u/1656851?v=4)](https://github.com/zhuravljov "zhuravljov (133 commits)")[![luckynvic](https://avatars.githubusercontent.com/u/4830453?v=4)](https://github.com/luckynvic "luckynvic (15 commits)")[![Insolita](https://avatars.githubusercontent.com/u/1847402?v=4)](https://github.com/Insolita "Insolita (2 commits)")[![DD174](https://avatars.githubusercontent.com/u/2971088?v=4)](https://github.com/DD174 "DD174 (1 commits)")

---

Tags

queuemoduleyiianalytics

### Embed Badge

![Health badge](/badges/luckynvic-yii2-queue-monitor/health.svg)

```
[![Health](https://phpackages.com/badges/luckynvic-yii2-queue-monitor/health.svg)](https://phpackages.com/packages/luckynvic-yii2-queue-monitor)
```

###  Alternatives

[zhuravljov/yii2-queue-monitor

Yii2 Queue Analytics Module

102203.2k](/packages/zhuravljov-yii2-queue-monitor)[trntv/yii2-command-bus

Yii2 Command Bus extension

57625.1k8](/packages/trntv-yii2-command-bus)

PHPackages © 2026

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