PHPackages                             ermeo/rabbitmq-supervisor-bundle - 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. ermeo/rabbitmq-supervisor-bundle

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

ermeo/rabbitmq-supervisor-bundle
================================

Symfony bundle to automatically create and update supervisor configurations for RabbitMQ consumer daemons

3.1.0(7y ago)112.1kMITPHP

Since Jul 28Pushed 7y agoCompare

[ Source](https://github.com/ermeo/rabbitmq-supervisor-bundle)[ Packagist](https://packagist.org/packages/ermeo/rabbitmq-supervisor-bundle)[ Docs](https://github.com/Phobetor/rabbitmq-supervisor-bundle)[ RSS](/packages/ermeo-rabbitmq-supervisor-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (3)Versions (22)Used By (0)

RabbitMQ supervisor bundle
==========================

[](#rabbitmq-supervisor-bundle)

[![Latest Stable Version](https://camo.githubusercontent.com/35edd482f5f1d4b686470ecf22eb830dd5dadb13241578667dae2471a33c2631/68747470733a2f2f706f7365722e707567782e6f72672f70686f6265746f722f7261626269746d712d73757065727669736f722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/phobetor/rabbitmq-supervisor-bundle) [![License](https://camo.githubusercontent.com/b8563e4045c140ead7ee6d16b5783691d7d53e3f4d8dd3e1d9d1f58b05a074dd/68747470733a2f2f706f7365722e707567782e6f72672f70686f6265746f722f7261626269746d712d73757065727669736f722d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/phobetor/rabbitmq-supervisor-bundle)

Symfony bundle to automatically create and update [supervisor](http://supervisord.org/) configurations for `php-amqplib/rabbitmq-bundle` (and its predecessor `oldsound/rabbitmq-bundle`) RabbitMQ consumer daemons.

In a nutshell | tl;dr
---------------------

[](#in-a-nutshell--tldr)

If you use `php-amqplib/rabbitmq-bundle` to handle the communication with RabbitMQ, just install [supervisor](http://supervisord.org/), add this bundle and run

```
$ app/console rabbitmq-supervisor:rebuild
```

to get a running `supervisord` instance that automatically manages all your consumer daemons. When your worker configuration or your code changes, run the command again and all the daemons will be updated.

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

[](#installation)

Install [supervisor](http://supervisord.org/). e. g. on debian based distributions via `apt-get`:

```
# apt-get install supervisor
```

Add bundle via composer

```
$ php composer require phobetor/rabbitmq-supervisor-bundle
```

This will install the bundle to your project’s `vendor` directory.

If your are not using Symfony Flex, also add the bundle to your project’s `AppKernel`:

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = [
        // […]
        new Phobetor\RabbitMqSupervisorBundle\RabbitMqSupervisorBundle(),
    ];
}
```

Zero Configuration
------------------

[](#zero-configuration)

RabbitMQ supervisor bundle works out of the box with a predefined configuration. If you leave it this way you will end up with this directory structure:

```
supervisor/
└── dev
    ├── logs
    │   ├── stderr.log
    │   └── stdout.log
    ├── supervisord.conf
    ├── supervisord.log
    ├── supervisor.pid
    ├── supervisor.sock
    └── worker
        ├── queue1.conf
        ├── queue2.conf
        ├── queue3.conf
        └── queue4.conf
```

In symfony 2 and 3 this will be placed inside your `app/` directory.

Caution with symfony 4: to not have this inside of your `src/` directory you need to set the paths to suit your needs. E. g. to use the standard structure inside of the `var/` directory, use this:

```
rabbit_mq_supervisor:
    paths:
        workspace_directory:            "%kernel.project_dir%/var/supervisor/%kernel.environment%/"
        configuration_file:             "%kernel.project_dir%/var/supervisor/%kernel.environment%/supervisord.conf"
        pid_file:                       "%kernel.project_dir%/var/supervisor/%kernel.environment%/supervisor.pid"
        sock_file:                      "%kernel.project_dir%/var/supervisor/%kernel.environment%/supervisor.sock"
        log_file:                       "%kernel.project_dir%/var/supervisor/%kernel.environment%/supervisord.log"
        worker_configuration_directory: "%kernel.project_dir%/var/supervisor/%kernel.environment%/worker/"
        worker_output_log_file:         "%kernel.project_dir%/var/supervisor/%kernel.environment%/logs/stdout.log"
        worker_error_log_file:          "%kernel.project_dir%/var/supervisor/%kernel.environment%/logs/stderr.log"
```

Advanced configuration
----------------------

[](#advanced-configuration)

To see all configuration options run

```
$ console config:dump-reference RabbitMqSupervisorBundle
```

### BC break when updating from v1.\* to v2.\*

[](#bc-break-when-updating-from-v1-to-v2)

If you used custom commands before version 2.0, you need to update them. In most case you can just remove everything after the command name.

### BC break when updating from v2.\* to v3.\*

[](#bc-break-when-updating-from-v2-to-v3)

Commands will by default no longer wait for `supervisord` to complete. If you need this (e. g. to get feedback on errors) use the `--wait-for-supervisord` option.

Usage
-----

[](#usage)

Build or rebuild the supervisor and worker configuration and start the daemon:

```
$ console rabbitmq-supervisor:rebuild
```

Control the supervisord daemon:

```
$ console rabbitmq-supervisor:control stop
$ console rabbitmq-supervisor:control start
$ console rabbitmq-supervisor:control restart
$ console rabbitmq-supervisor:control hup
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 90.3% 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 ~85 days

Recently: every ~205 days

Total

19

Last Release

2766d ago

Major Versions

1.5.2 → 2.0.02017-01-07

2.0.0 → 3.0.02018-05-10

### Community

Maintainers

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

---

Top Contributors

[![Phobetor](https://avatars.githubusercontent.com/u/712973?v=4)](https://github.com/Phobetor "Phobetor (112 commits)")[![jjbubudi](https://avatars.githubusercontent.com/u/788781?v=4)](https://github.com/jjbubudi "jjbubudi (3 commits)")[![gregurco](https://avatars.githubusercontent.com/u/4052904?v=4)](https://github.com/gregurco "gregurco (2 commits)")[![webroru](https://avatars.githubusercontent.com/u/11889133?v=4)](https://github.com/webroru "webroru (2 commits)")[![robholmes](https://avatars.githubusercontent.com/u/206717?v=4)](https://github.com/robholmes "robholmes (1 commits)")[![RonRademaker](https://avatars.githubusercontent.com/u/2697738?v=4)](https://github.com/RonRademaker "RonRademaker (1 commits)")[![spdionis](https://avatars.githubusercontent.com/u/4737101?v=4)](https://github.com/spdionis "spdionis (1 commits)")[![tackerm](https://avatars.githubusercontent.com/u/16286510?v=4)](https://github.com/tackerm "tackerm (1 commits)")[![mastercoding](https://avatars.githubusercontent.com/u/306659?v=4)](https://github.com/mastercoding "mastercoding (1 commits)")

---

Tags

Symfony2rabbitmqsupervisorsymfony4symfony3supervisord

### Embed Badge

![Health badge](/badges/ermeo-rabbitmq-supervisor-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ermeo-rabbitmq-supervisor-bundle/health.svg)](https://phpackages.com/packages/ermeo-rabbitmq-supervisor-bundle)
```

###  Alternatives

[phobetor/rabbitmq-supervisor-bundle

Symfony bundle to automatically create and update supervisor configurations for RabbitMQ consumer daemons

104564.5k](/packages/phobetor-rabbitmq-supervisor-bundle)[php-amqplib/rabbitmq-bundle

Integrates php-amqplib with Symfony &amp; RabbitMq. Formerly emag-tech-labs/rabbitmq-bundle, oldsound/rabbitmq-bundle.

1.3k20.1M64](/packages/php-amqplib-rabbitmq-bundle)[xiidea/easy-audit

A Symfony Bundle To Log Selective Events. It is easy to configure and easy to customize for your need

91179.0k](/packages/xiidea-easy-audit)[fsi/admin-bundle

FSi Admin Bundle. Admin generator for Symfony.

5849.2k7](/packages/fsi-admin-bundle)[supertag/gearman-bundle

Gearman bundle for Symfony2 to manage and monitor PHP gearman jobs and queue

1441.3k](/packages/supertag-gearman-bundle)

PHPackages © 2026

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