PHPackages                             dmftaras/amqp-queue - 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. dmftaras/amqp-queue

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

dmftaras/amqp-queue
===================

AMQP Queue Yii 2 extension

v1.9(1y ago)0560MITPHPPHP &gt;=8.1.0

Since Jan 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dmftaras/yii2-amqp-queue)[ Packagist](https://packagist.org/packages/dmftaras/amqp-queue)[ RSS](/packages/dmftaras-amqp-queue/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (2)Versions (11)Used By (0)

Yii 2 - AMQP Queue
==================

[](#yii-2---amqp-queue)

Brought to you by [dmftaras](http://dmftaras.com).

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist dmftaras/amqp-queue "*"

```

or add the following line to the require section of your `composer.json` file:

```
"dmftaras/amqp-queue": "*"

```

Requirements
------------

[](#requirements)

Yii 2 and above. PHP AMQPlib

Usage
-----

[](#usage)

Once the extension is installed, set your configuration in common config file:

```
    'components' => [
        'master_queue' => [
            'class' => \dmftaras\amqp_queue\Queue::class,
            'exchange_name' => 'master.tasks',
            'queue_name' => 'master.tasks',
            'routing_key' => 'master.tasks'
        ],
    ],
```

Add component to bootstrap section:

```
    'bootstrap' => [
        'master_queue'
    ],
```

Add job to the queue

```
\Yii::$app->test_queue->push(new TestJob([
    'property' => 'value'
]));
```

To consume queue

```
php yii test-queue/listen

```

License
-------

[](#license)

Code released under [MIT License](LICENSE).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance42

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~304 days

Total

10

Last Release

476d ago

PHP version history (3 changes)v1.0PHP &gt;=7.4.0

v1.8PHP &gt;=8.2.0

v1.9PHP &gt;=8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/230e846d2a064612cfc12700bfcea81b31b34aca3478f4d9f8415f7892c34f73?d=identicon)[dmftaras](/maintainers/dmftaras)

---

Top Contributors

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

---

Tags

queueyii2extensionAMQP

### Embed Badge

![Health badge](/badges/dmftaras-amqp-queue/health.svg)

```
[![Health](https://phpackages.com/badges/dmftaras-amqp-queue/health.svg)](https://phpackages.com/packages/dmftaras-amqp-queue)
```

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[mikemadisonweb/yii2-rabbitmq

Wrapper based on php-amqplib to incorporate messaging in your Yii2 application via RabbitMQ. Inspired by RabbitMqBundle for Symfony 2, really awesome package.

74262.1k1](/packages/mikemadisonweb-yii2-rabbitmq)[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)
