PHPackages                             mhfereydouni/laravel-rabbitmq-communication - 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. mhfereydouni/laravel-rabbitmq-communication

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

mhfereydouni/laravel-rabbitmq-communication
===========================================

integrate rabbitmq in a laravel application

v1.6(8mo ago)95.0k2MITPHPPHP ^8.1 || ^8.2

Since May 15Pushed 8mo agoCompare

[ Source](https://github.com/moferry96/laravel-rabbitmq-communication)[ Packagist](https://packagist.org/packages/mhfereydouni/laravel-rabbitmq-communication)[ Docs](https://github.com/mhfereydouni/laravel-rabbitmq-communication)[ RSS](/packages/mhfereydouni-laravel-rabbitmq-communication/feed)WikiDiscussions 1.x Synced yesterday

READMEChangelog (7)Dependencies (10)Versions (9)Used By (0)

A package to work with RabbitMQ in an elegant way.
==================================================

[](#a-package-to-work-with-rabbitmq-in-an-elegant-way)

[![Latest Version on Packagist](https://camo.githubusercontent.com/79af44cafa7a3c9836bdd492f31b0a359debe38afbf8f48dee34665384591894/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d686665726579646f756e692f6c61726176656c2d7261626269746d712d636f6d6d756e69636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhfereydouni/laravel-rabbitmq-communication)[![GitHub Tests Action Status](https://camo.githubusercontent.com/42e6c88934513d673f7d291e789593246dea562821ff62a5113d9f6f5f9e34b4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d686665726579646f756e692f6c61726176656c2d7261626269746d712d636f6d6d756e69636174696f6e2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/mhfereydouni/laravel-rabbitmq-communication/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/2f7f65f48718375639dacc9b4aa32a01e0c87bb3ef7cf0aae63f8d6334982580/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475736d686665726579646f756e692f6c61726176656c2d7261626269746d712d636f6d6d756e69636174696f6e2f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/mhfereydouni/laravel-rabbitmq-communication/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/baee1fdcf2ed4f3880ea7cbc1d1e6efa71e6c451d72916e7809817c19d070bd4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d686665726579646f756e692f6c61726176656c2d7261626269746d712d636f6d6d756e69636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhfereydouni/laravel-rabbitmq-communication)

This package allows your laravel applications to easily communicate with each other in an event driven way.

One service can publish an event and another one can consume the event and take actions accordingly.

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

[](#installation)

You can install the package via composer:

```
composer require mhfereydouni/laravel-rabbitmq-communication
```

Then you should publish the package config with running this command:

```
php artisan vendor:publish --tag="laravel-rabbitmq-communication-config"
```

This is the contents of the published config file:

```
