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

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

tanur/yii2-rabbitmq
===================

Forked from 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.

1.3(3y ago)1785MITPHP

Since Feb 20Pushed 3y agoCompare

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

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

RabbitMQ Extension for Yii2
===========================

[](#rabbitmq-extension-for-yii2)

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

[![Latest Stable Version](https://camo.githubusercontent.com/f0e9097ad3fe1898bb9388d3bad49120d0a577416a576755a3c3ea87f788fae6/68747470733a2f2f706f7365722e707567782e6f72672f6d696b656d616469736f6e7765622f796969322d7261626269746d712f762f737461626c65)](https://packagist.org/packages/mikemadisonweb/yii2-rabbitmq)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist tanur/yii2-rabbitmq

```

or add

```
"tanur/yii2-rabbitmq": "^1.0"
```

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

Configuration
-------------

[](#configuration)

This extension facilitates creation of RabbitMQ [producers and consumers](https://www.rabbitmq.com/tutorials/tutorial-three-php.html) to meet your specific needs. This is an example basic config:

```
