PHPackages                             zorn-v/messenger-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. zorn-v/messenger-supervisor-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

zorn-v/messenger-supervisor-bundle
==================================

Supervisor for symfony messenger:consume commands

v1.0.1(6y ago)26MITPHPCI failing

Since Jan 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/zorn-v/messenger-supervisor-bundle)[ Packagist](https://packagist.org/packages/zorn-v/messenger-supervisor-bundle)[ RSS](/packages/zorn-v-messenger-supervisor-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Symfony messenger supervisor bundle
===================================

[](#symfony-messenger-supervisor-bundle)

Inspired by laravel horizon, supervisor for `messenger:consume` commands.

Runs `messenger:consume` commands with parameters from config and watch that commands is running and start they if needed.

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

[](#installation)

`composer require zorn-v/messenger-supervisor-bundle`

Usage
-----

[](#usage)

`./bin/console messenger:supervisor`

Issues
------

[](#issues)

if you kill main supervisor proccess with `SIGKILL` signal, it can not shut down consumers, and after restart it will start copies of they. You should kill supervisor with `SIGTERM`

#### Config

[](#config)

In config all parameters have same names as `messenger:consume` parameters. You can check by `./bin/console messenger:consume --help`

Also check symfony documentation about best practice

```
# config/packages/messenger_supervisor.yaml
messenger_supervisor:
    queue-1: ~
    queue-2:
        receivers: [in_memory]
        memory-limit: 128M
        time-limit: 3600
        limit: 1000
        sleep: 1
        bus: mybus
    queue-3:
        limit: 100
```

Deploy
------

[](#deploy)

You also need to set up `messenger:supervisor` in system supervisor for autostart this command and manage it via command like `service messenger-supervisor restart`

#### systemd

[](#systemd)

`systemd` is standard init system on most linux distros. Create unit in `/etc/systemd/system` dir:

```
#/etc/systemd/system/messenger-supervisor.service

[Unit]
Description=Symfony messenger supervisor
After=network.target

[Service]
Type=exec
User=www-data
Restart=always
ExecStart=/path/to/your/app/bin/console messenger:supervisor

[Install]
WantedBy=multi-user.target
```

Change `User` to the Unix user on your server if needed. Now tell systemd about new unit, enable it for run at system start and run it

```
$ sudo systemctl daemon-reload
$ sudo systemctl enable messenger-supervisor
$ sudo systemctl start messenger-supervisor
```

#### supervisord

[](#supervisord)

You can install it on Ubuntu, for example, via:

```
$ sudo apt-get install supervisor
```

Supervisor configuration files typically live in a `/etc/supervisor/conf.d` directory. For example, you can create a new `messenger-supervisor.conf` file:

```
#/etc/supervisor/conf.d/messenger-supervisor.conf

[program:messenger-supervisor]
command=/path/to/your/app/bin/console messenger:supervisor
user=www-data
numprocs=1
autostart=true
autorestart=true
process_name=%(program_name)s_%(process_num)02d
```

Change `user` to the Unix user on your server if needed. Next, tell Supervisor to read your config and start your workers:

```
$ sudo supervisorctl reread
$ sudo supervisorctl update
$ sudo supervisorctl start messenger-supervisor
```

See the [Supervisor docs](http://supervisord.org) for more details.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

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 ~0 days

Total

2

Last Release

2300d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/33c8ff5d70d1ab0c46bb780088dfa75f5e3d7a7412fa9f6408cfc1b5b2aeff87?d=identicon)[zorn-v](/maintainers/zorn-v)

---

Top Contributors

[![zorn-v](https://avatars.githubusercontent.com/u/12619075?v=4)](https://github.com/zorn-v "zorn-v (15 commits)")

---

Tags

messengerqueuesupervisorsymfony

### Embed Badge

![Health badge](/badges/zorn-v-messenger-supervisor-bundle/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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