PHPackages                             avto-dev/amqp-rabbit-manager - 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. avto-dev/amqp-rabbit-manager

ActiveLibrary[Queues &amp; Workers](/categories/queues)

avto-dev/amqp-rabbit-manager
============================

RabbitMQ manager

v2.11.0(10mo ago)237.5k↓22.7%61MITPHPPHP ^8.2CI passing

Since May 19Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/avto-dev/amqp-rabbit-manager)[ Packagist](https://packagist.org/packages/avto-dev/amqp-rabbit-manager)[ RSS](/packages/avto-dev-amqp-rabbit-manager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (10)Versions (16)Used By (1)

 [![Laravel](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)](https://camo.githubusercontent.com/640c3d52b2764f179ef3cf089b604516a8c4ac0a06f055a46c6a7fce9428b787/68747470733a2f2f6c61726176656c2e636f6d2f6173736574732f696d672f636f6d706f6e656e74732f6c6f676f2d6c61726176656c2e737667)

RabbitMQ manager for Laravel applications
=========================================

[](#rabbitmq-manager-for-laravel-applications)

[![Version](https://camo.githubusercontent.com/869b12479046e3291fc208d0b3b9116cb89d6c1269a5dff8a2965fbcaaeb352b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6176746f2d6465762f616d71702d7261626269742d6d616e616765722e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/amqp-rabbit-manager)[![PHP Version](https://camo.githubusercontent.com/15bbf12229361ad649f027faea3f7e7943e94c0a1241c242a4a52fedaa49e283/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6176746f2d6465762f616d71702d7261626269742d6d616e616765722e7376673f6c6f6e6743616368653d74727565)](https://packagist.org/packages/avto-dev/amqp-rabbit-manager)[![Build Status](https://camo.githubusercontent.com/d4edef14e1e329156e22b12da149c9af6ef31edd506d24fe030ed29931c61c9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6176746f2d6465762f616d71702d7261626269742d6d616e616765722f74657374732e796d6c)](https://github.com/avto-dev/amqp-rabbit-manager/actions)[![Coverage](https://camo.githubusercontent.com/81d3c34ed90322385051bc16bd814363a12d5628568125f0d33dde9fb5ca0d69/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6176746f2d6465762f616d71702d7261626269742d6d616e616765722f6d61737465722e7376673f6d61784167653d3630)](https://codecov.io/gh/avto-dev/amqp-rabbit-manager/)[![Downloads count](https://camo.githubusercontent.com/8a67160c29ec911cceb2ed755b5d9aae448270b87d84cfd5bc080e9bfeacc5cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6176746f2d6465762f616d71702d7261626269742d6d616e616765722e7376673f6d61784167653d313830)](https://packagist.org/packages/avto-dev/amqp-rabbit-manager)[![License](https://camo.githubusercontent.com/780c8352c1c277f8104376430f4f438cec7c9ad19afa9013847f5e881680a0ba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6176746f2d6465762f616d71702d7261626269742d6d616e616765722e7376673f6c6f6e6743616368653d74727565)](https://github.com/avto-dev/amqp-rabbit-manager/blob/master/LICENSE)

This package can be used for easy access to the RabbitMQ entities like connections or queues.

> Installed php extension `ext-amqp` is required. Installation steps can be found in [Dockerfile](./docker/app/Dockerfile).

Install
-------

[](#install)

Require this package with composer using the following command:

```
$ composer require avto-dev/amqp-rabbit-manager "^2.0"
```

> Installed `composer` is required ([how to install composer](https://getcomposer.org/download/)).

> You need to fix the major version of package.

After that you should "publish" package configuration file using next command:

```
$ php ./artisan vendor:publish --provider='AvtoDev\AmqpRabbitManager\ServiceProvider'
```

And configure it in the file `./config/rabbitmq.php`.

Usage
-----

[](#usage)

At first you should execute command `rabbit:setup` for creating all queues and exchanges on RabbitMQ server.

Then, in any part of your application you can resolve connection or queue/exchange factories. For example, in artisan command:

```
