PHPackages                             derrck/yii2-rabbitmq - 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. derrck/yii2-rabbitmq

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

derrck/yii2-rabbitmq
====================

yii2 package for RabbitMQ

1.1.0(7y ago)15MITPHP

Since Aug 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/derrck/yii2-rabbitmq)[ Packagist](https://packagist.org/packages/derrck/yii2-rabbitmq)[ Docs](https://github.com/derrck/yii2-rabbitmq)[ RSS](/packages/derrck-yii2-rabbitmq/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

yii2-rabbitmq
=============

[](#yii2-rabbitmq)

yii2 package for RabbitMQ

安装包 Install

```
composer require derrck/yii2-rabbitmq:dev-master

```

或者到项目中compare.phar的同级目录 or run below code in composer.phar path

```
php composer.phar require --prefer-dist derrck/yii2-rabbitmq "*"

```

config文件中加入配置 add below code to config file

```
return [
	// [...]
	'components'=>[
		// [...]
		'rabbitmq' => [
            'class' => '\derrck\yii2\rabbitmq',
            'host' => '127.0.0.1',
            'port' => '5672',
            'user' => 'guest',
            'password' => 'guest',
            'vhost' => '/',
        ],
	// [...]
];

```

使用 Use

```
Yii::$app->rabbitmq->setMessage('messagessss', 'my_queue');
Yii::$app->rabbitmq->getMessage('my_queue', 'your_queue');

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

5

Last Release

2885d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17408e6dd8c9881b88efe86032723b6c812b0f36604d268dd475f42374a8be28?d=identicon)[derrck](/maintainers/derrck)

---

Top Contributors

[![derrck](https://avatars.githubusercontent.com/u/6376827?v=4)](https://github.com/derrck "derrck (13 commits)")

---

Tags

phprabbitmqyii2

### Embed Badge

![Health badge](/badges/derrck-yii2-rabbitmq/health.svg)

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

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2792.4M7](/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.

72269.0k1](/packages/mikemadisonweb-yii2-rabbitmq)[marwanalsoltany/amqp-agent

An elegant wrapper around the famous php-amqplib for 90% use case.

161.8k](/packages/marwanalsoltany-amqp-agent)

PHPackages © 2026

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