PHPackages                             akbarali/rabbit-listener - 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. akbarali/rabbit-listener

ActiveLibrary

akbarali/rabbit-listener
========================

Laravel Rabbit Listener

1.3.2(1y ago)029MITPHPPHP &gt;=8.2

Since Jan 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/akbarali1/rabbit-php-listener)[ Packagist](https://packagist.org/packages/akbarali/rabbit-listener)[ RSS](/packages/akbarali-rabbit-listener/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (15)Used By (0)

Laravel RABBIT PHP Listener
===========================

[](#laravel-rabbit-php-listener)

TODO
====

[](#todo)

Done ?NameVersion⏳Write a Sender for this Listener.Pending⏳Fix bug in `rabbit:terminate` commandPending⬜Writing documentation.In the future⬜Add middleware method.In the future⬜Add Docs Auth Middleware.In the futureInstall
=======

[](#install)

```
composer require akbarali/rabbit-listener

```

After installing Rabbit Listener, publish its assets using the `rabbit:install` Artisan command:

```
php artisan rabbit:install

```

add `.env` rabbit configuration

```
RABBIT_HOST="host"
RABBIT_VHOST="vhost"
RABBIT_USER="user"
RABBIT_PASSWORD="pass"

```

Configuration
=============

[](#configuration)

After publishing Rabbit Listener's assets, its primary configuration file will be located at `config/rabbit.php`. This configuration file allows you to configure the queue worker options for your application. Each configuration option includes a description of its purpose, so be sure to thoroughly explore this file.

Running Rabbit Listener
=======================

[](#running-rabbit-listener)

Once you have configured your supervisors and workers in your application's `config/rabbit.php` configuration file, you may start Rabbit Listener using the `rabbit:listener` Artisan command. This single command will start all the configured worker processes for the current environment:

```
php artisan rabbit:listener

```

You may pause the Rabbit Listener process and instruct it to continue processing jobs using the `rabbit:pause` and `rabbit:continue` Artisan commands:

```
php artisan rabbit:pause

```

```
php artisan rabbit:continue

```

Bonus
=====

[](#bonus)

```
php artisan rabbit:info

```

Deploying Rabbit Listener
=========================

[](#deploying-rabbit-listener)

When you're ready to deploy Rabbit Listener to your application's actual server, you should configure a process monitor to monitor the php artisan Rabbit Listener command and restart it if it exits unexpectedly. Don't worry, we'll discuss how to install a process monitor below. During your application's deployment process, you should instruct the Rabbit Listener process to terminate so that it will be restarted by your process monitor and receive your code changes:

```
php artisan rabbit:terminate

```

Supervisor Configuration
========================

[](#supervisor-configuration)

Supervisor configuration files are typically stored within your server's `/etc/supervisor/conf.d` directory. Within this directory, you may create any number of configuration files that instruct supervisor how your processes should be monitored. For example, let's create a `rabbit.conf` file that starts and monitors a rabbit listener process:

```
[program:rabbit_listener]
process_name=%(program_name)s_%(process_num)02d
command=php /var/www/artisan rabbit:channel:queue platform_queue_%(process_num)02d
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
numprocs=10
user=forge
redirect_stderr=true
stdout_logfile=/var/www/supervisor/rabbit_listener_queue.log

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance42

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

14

Last Release

463d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.0

1.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/b3228f32e213a2e306db99f2526c4ec31bac09c86e360db37bde696689f962a2?d=identicon)[akbarali](/maintainers/akbarali)

---

Top Contributors

[![akbarali1](https://avatars.githubusercontent.com/u/39323182?v=4)](https://github.com/akbarali1 "akbarali1 (21 commits)")

---

Tags

laravelrabbit

### Embed Badge

![Health badge](/badges/akbarali-rabbit-listener/health.svg)

```
[![Health](https://phpackages.com/badges/akbarali-rabbit-listener/health.svg)](https://phpackages.com/packages/akbarali-rabbit-listener)
```

###  Alternatives

[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2752.3M7](/packages/bschmitt-laravel-amqp)[convenia/pigeon

3233.0k](/packages/convenia-pigeon)[mookofe/tail

RabbitMQ and PHP client for Laravel and Lumen that allows you to add and listen queues messages just simple

5552.5k](/packages/mookofe-tail)[kunalvarma05/laravel-rabbitmq

Work with RabbitMQ in Laravel.

1853.7k](/packages/kunalvarma05-laravel-rabbitmq)[sobirjonovs/laravel-rabbit

Easy tool for working with RabbitMQ

111.6k](/packages/sobirjonovs-laravel-rabbit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
