PHPackages                             sobirjonovs/laravel-rabbit - 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. sobirjonovs/laravel-rabbit

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

sobirjonovs/laravel-rabbit
==========================

Easy tool for working with RabbitMQ

2.9.8(1y ago)111.7k3[1 PRs](https://github.com/sobirjonovs/laravel-rabbit/pulls)MITPHPPHP ^7.4|^8.0

Since Mar 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sobirjonovs/laravel-rabbit)[ Packagist](https://packagist.org/packages/sobirjonovs/laravel-rabbit)[ Docs](https://github.com/sobirjonovs/laravel-rabbit)[ RSS](/packages/sobirjonovs-laravel-rabbit/feed)WikiDiscussions master Synced today

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

[![Total Downloads](https://camo.githubusercontent.com/a65e78a2935ee84d772832330cac4c60df87f7434497d3895bd1726f9493c003/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736f6269726a6f6e6f76732f6c61726176656c2d726162626974)](https://packagist.org/packages/sobirjonovs/laravel-rabbit)[![Latest Stable Version](https://camo.githubusercontent.com/71f987102eff43af26405368c35e8efb50eef69ef8989fb171da50cf1870acba/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6269726a6f6e6f76732f6c61726176656c2d726162626974)](https://packagist.org/packages/sobirjonovs/laravel-rabbit)[![License](https://camo.githubusercontent.com/58eca23975d8d9f4b75445b6a50fe893dee983463b99352aabf3133cb5def26a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f736f6269726a6f6e6f76732f6c61726176656c2d726162626974)](https://packagist.org/packages/sobirjonovs/laravel-rabbit)[![Community](https://camo.githubusercontent.com/2c470e40e613753972c63fda77013f9260b43ce7b1b6fa3458ff08c770b0801f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c656772616d2d47726f75702d626c75652e7376673f6c6f676f3d74656c656772616d)](https://t.me/laravel_rabbitmq)

Installation
============

[](#installation)

```
composer require sobirjonovs/laravel-rabbit
```

After installing the package, publish its assets using the `rabbit:install` Artisan command.

```
php artisan rabbit:install
```

Settings
--------

[](#settings)

- `config/amqp.php` - RabbitMQ settings
- `config/rabbit_events.php` - Write methods what they are responsible for the events dispatched from another microservice
- `app/Providers/RabbitServicePRovider` - Write queues what to be declared at runtime

Examples
========

[](#examples)

1. Consuming messages
---------------------

[](#1-consuming-messages)

```

```

2. Publishing message
---------------------

[](#2-publishing-message)

```
