PHPackages                             devnullius/yii2-queue-addon - 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. devnullius/yii2-queue-addon

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

devnullius/yii2-queue-addon
===========================

Addon for yii2-queue original extension

4.0.0(1y ago)08.4k↑16.7%MITPHPPHP &gt;=7.4.0 &lt; 8.5

Since Sep 4Pushed 11mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (17)Used By (0)

Queue Addon
===========

[](#queue-addon)

Addon for yii2-queue original extension for multi channel version documentation not prepared yet! multichannel version is since v3xx

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist devnullius/yii2-queue-addon "^1.0"

```

or add

```
"devnullius/yii2-queue-addon": "^1.0"

```

to the "require" section of your `composer.json` file.

***However, note that yii2-queue extension must be configured and running.***

Configs
-------

[](#configs)

Add SetUp bootstrap class to common main.php in bootstrap section after "queue".

```
        use devnullius\queue\addon\bootstrap\SetUp as QueueAddonSetUp;

        'bootstrap' => [
            'queue',
            QueueAddonSetUp::class
        ]
```

For binding events with listeners use following style in your bootstrap.(Or something like that;-)

```
        use devnullius\queue\addon\dispatchers\SimpleEventDispatcher;
        use yii\di\Container;
        use devnullius\queue\addon\example\TestExampleEvent;
        use devnullius\queue\addon\example\TestExampleListener;

        $container->setSingleton(SimpleEventDispatcher::class,
        static function (Container $container) {
            return new SimpleEventDispatcher($container, [
                TestExampleEvent::class => [TestExampleListener::class],
            ]);
        });
```

Usage
-----

[](#usage)

Once the extension installed, simply you can take a look on examples inside, running them in your framework environment. Something like this.

```
        use devnullius\queue\addon\example\TestEventService;

        $testService = Yii::createObject(TestEventService::class);
        $testService->testEvent('Event generation no ... ');
```

After that, you can run queue/listen, in --verbose mode, to see how listener/handler work.

```
        php yii queue/listen --verbose

```

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance47

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

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

Recently: every ~180 days

Total

15

Last Release

346d ago

Major Versions

1.0.5 → 2.0.02022-01-22

2.0.0 → 3.0.02023-05-13

2.0.1 → 3.0.42023-07-17

3.0.5 → 4.0.02025-01-24

PHP version history (5 changes)1.0.0PHP &gt;=7.4.0 &lt;= 8.0

2.0.0PHP &gt;=7.4.0 &lt; 8.2

3.0.4PHP &gt;=7.4.0 &lt; 8.4

4.0.0PHP &gt;=7.4.0 &lt; 8.5

2.0.2PHP &gt;=7.4.0

### Community

Maintainers

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

---

Top Contributors

[![aramds](https://avatars.githubusercontent.com/u/1528105?v=4)](https://github.com/aramds "aramds (16 commits)")

---

Tags

queueyii2extensionaddon

### Embed Badge

![Health badge](/badges/devnullius-yii2-queue-addon/health.svg)

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

###  Alternatives

[trntv/yii2-command-bus

Yii2 Command Bus extension

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

Yii2 Queue Manager

2061.8k2](/packages/ignatenkovnikita-yii2-queuemanager)

PHPackages © 2026

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