PHPackages                             matriphe/supervisor - 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. [DevOps &amp; Deployment](/categories/devops)
4. /
5. matriphe/supervisor

AbandonedArchivedLibrary[DevOps &amp; Deployment](/categories/devops)

matriphe/supervisor
===================

Generate Supervisor config for monitoring Laravel worker process

1.1.2(7y ago)31.1k2MITPHP

Since Jan 12Pushed 7y agoCompare

[ Source](https://github.com/matriphe/laravel-supervisor-config-generator)[ Packagist](https://packagist.org/packages/matriphe/supervisor)[ RSS](/packages/matriphe-supervisor/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

Laravel Supervisor Config Generator
===================================

[](#laravel-supervisor-config-generator)

[![Build Status](https://camo.githubusercontent.com/762c59ab4e4250952390ee0633bed0728809680b34079e21596b4a7d7578d013/68747470733a2f2f7472617669732d63692e6f72672f6d617472697068652f6c61726176656c2d73757065727669736f722d636f6e6669672d67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/matriphe/laravel-supervisor-config-generator)[![Total Download](https://camo.githubusercontent.com/9a3e18692bd6269e1cd8d215d9fb7aa58c1056143a05530d898f48a0f504e9cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617472697068652f73757065727669736f722e737667)](https://packagist.org/packages/matriphe/supervisor)[![Latest Stable Version](https://camo.githubusercontent.com/865bd80b844376639adaa52c6bedb8ee6190449617f861c8e153ad8119a2412c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617472697068652f73757065727669736f722e737667)](https://packagist.org/packages/matriphe/supervisor)

This package generates Supervisor config that used by Laravel to monitor queue worker and [Laravel Horizon](https://horizon.laravel.com/). Make sure Supervisor is installed properly.

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

[](#installation)

Using [Composer](https://getcomposer.org/), just run this command below.

```
composer require matriphe/supervisor
```

Configuration
-------------

[](#configuration)

### Laravel &lt; 5.5

[](#laravel--55)

After installed, open `config/app.php` and add this line.

```
Matriphe\Supervisor\ServiceProvider::class
```

### Laravel &gt; 5.5

[](#laravel--55-1)

Nothing to do, this package is using package auto-discovery.

### Lumen

[](#lumen)

Open `bootstrap.app` and add this line.

```
$app->register(Matriphe\Supervisor\ServiceProvider::class);
```

Usage
-----

[](#usage)

### Generate Laravel Horizon Config

[](#generate-laravel-horizon-config)

Using `root` access, run

```
php artisan supervisor:horizon
```

By default, this will save the configuration file to `/etc/supervisor/conf.d` directory. To change this, use `--path` option on the command.

For more info, just use `--help` option to see what options available.

### Generate Queue Worker Config

[](#generate-queue-worker-config)

If you don't want to use Laravel Horizon to monitor your queue workers, use this commands. If you're using Laravel Horizon, just ignore this command.

Using `root` access, run

```
php artisan supervisor:queue
```

By default, this command will also save the configuration file to `/etc/supervisor/conf.d` directory. To change this, use `--path` option on the command.

For more info, just use `--help` option to see what options available.

### Outout

[](#outout)

The output of the config file is like this.

#### Laravel Horizon

[](#laravel-horizon)

```
[program:appname-laravel-horizon-default]
command=/usr/bin/php /Volumes/data/Development/php/laravel/55/artisan horizon
process_name=%(process_name)s
priority=999
autostart=true
autorestart=unexpected
startretries=3
stopsignal=QUIT
stderr_logfile=/var/log/supervisor/appname-default.log

```

#### Queue Worker

[](#queue-worker)

```
[program:appname-queue-worker-default]
command=/usr/bin/php /Volumes/data/Development/php/laravel/55/artisan queue:work --queue=default --tries=3 --timeout=60
process_num=5
numprocs=5
process_name=%(process_num)s
priority=999
autostart=true
autorestart=unexpected
startretries=3
stopsignal=QUIT
stderr_logfile=/var/log/supervisor/appname-default.log

```

The file will be named `/etc/supervisor/conf.d/appname-default.conf`.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Recently: every ~71 days

Total

7

Last Release

2781d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/809de97d088b0eff358f96141a31bd8897216a03175448192de140f2723bdea6?d=identicon)[matriphe](/maintainers/matriphe)

---

Top Contributors

[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (13 commits)")

---

Tags

laravelconfiggeneratorcommandsupervisor

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/matriphe-supervisor/health.svg)

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

###  Alternatives

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M184](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M145](/packages/laravel-mcp)[spatie/laravel-responsecache

Speed up a Laravel application by caching the entire response

2.8k9.0M68](/packages/spatie-laravel-responsecache)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M159](/packages/spatie-laravel-health)

PHPackages © 2026

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