PHPackages                             edipoelwes/laravel-rabbitmq-worker - 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. edipoelwes/laravel-rabbitmq-worker

ActiveLibrary

edipoelwes/laravel-rabbitmq-worker
==================================

This project is a Laravel package that facilitates the execution of RabbitMQ worker processes. It simplifies the configuration, management, and monitoring of worker processes, allowing you to easily integrate RabbitMQ into your Laravel application to handle asynchronous tasks efficiently and scalably.

v1.2.0(5mo ago)14.2k—0%2MITPHPPHP ^7.4|^8.0

Since Apr 17Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/edipoelwes/laravel-rabbitmq-worker)[ Packagist](https://packagist.org/packages/edipoelwes/laravel-rabbitmq-worker)[ Docs](https://github.com/edipoelwes/laravel-rabbitmq-worker)[ RSS](/packages/edipoelwes-laravel-rabbitmq-worker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (3)Versions (13)Used By (0)

laravel-rabbitmq-worker
=======================

[](#laravel-rabbitmq-worker)

Library to facilitate the use of rabbitmq within php based on the [php-amqplib](https://github.com/php-amqplib/php-amqplib) library.
------------------------------------------------------------------------------------------------------------------------------------

[](#library-to-facilitate-the-use-of-rabbitmq-within-php-based-on-the-php-amqplib-library)

Installing
==========

[](#installing)

```
composer require edipoelwes/laravel-rabbitmq-worker

```

How to configure in Laravel
---------------------------

[](#how-to-configure-in-laravel)

#### Run the publisher to generate configuration file

[](#run-the-publisher-to-generate-configuration-file)

When you run the publisher command, it automatically creates a configuration file named `laravel-rabbitmq-worker.php` within the `config` directory of your Laravel application.

```
php artisan vendor:publish --provider="Edipoelwes\LaravelRabbitmqWorker\CommandServiceProvider"
```

Clear settings cache
--------------------

[](#clear-settings-cache)

Before configuring the RabbitMQ connection settings according to your environment, it's essential to clear the Laravel configuration cache to ensure that any changes take effect properly.

```
php artisan config:cache
```

Then just configure according to your environment.

```
