PHPackages                             ariadata/larastack-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. [CLI &amp; Console](/categories/cli)
4. /
5. ariadata/larastack-supervisor

ActivePackage[CLI &amp; Console](/categories/cli)

ariadata/larastack-supervisor
=============================

Larastack Supervisor manager via artisan

1.0.1(1y ago)05MITPHPPHP ^8.2

Since Oct 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ariadata/larastack-supervisor)[ Packagist](https://packagist.org/packages/ariadata/larastack-supervisor)[ RSS](/packages/ariadata-larastack-supervisor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Larastack Supervisor
====================

[](#larastack-supervisor)

[![Packagist Version](https://camo.githubusercontent.com/628ac984de805019556d63afa70f77665ef75b76836e3a4506368bdc2008a3ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726961646174612f6c617261737461636b2d73757065727669736f72)](https://packagist.org/packages/ariadata/larastack-supervisor)[![GitHub License](https://camo.githubusercontent.com/ae72ccef0143b468a9f6f43a1d816965690cb27e761f9d657f0a41a358eeb587/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61726961646174612f6c617261737461636b2d73757065727669736f72)](https://github.com/ariadata/larastack-supervisor/blob/main/LICENSE)

Larastack Supervisor is a Laravel package that allows you to manage Supervisor processes directly via Artisan commands. Whether you're starting, stopping, or checking the status of your processes, this package keeps your Supervisor management simple and intuitive.

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

[](#installation)

You can install this package via Composer:

```
composer require ariadata/larastack-supervisor
```

Configuration on `.env`
-----------------------

[](#configuration-on-env)

After installation, need to add these in your `.env` file:

```
SUPERVISOR_RPC_HOST=supervisor # or your supervisor host
SUPERVISOR_RPC_PORT=9001
SUPERVISOR_RPC_USER=user
SUPERVISOR_RPC_PASS=pass
```

Usage
-----

[](#usage)

You can interact with Supervisor using either the `Facade` or the `helper function`.

### Using the `Facade`

[](#using-the-facade)

Ensure you have added the alias in your config/app.php (this is automatically registered if you are using Laravel's auto-discovery feature , laravel &lt;= 7.x):

```
# if laravel  [
    'LarastackSupervisor' => Ariadata\LarastackSupervisor\Facades\LarastackSupervisorFacade::class,
],
```

Examples:

```
use LarastackSupervisor;

// Start a service
LarastackSupervisor::start('laravel-horizon');

// Stop a service
LarastackSupervisor::stop('laravel-horizon');

// Restart a service
LarastackSupervisor::restart('laravel-horizon');

// Get the status of all services
$statuses = LarastackSupervisor::status('all');

// List all processes
$processes = LarastackSupervisor::list();
```

### Using the Helper Function

[](#using-the-helper-function)

You can also use the helper function `larastack_supervisor()` to interact with Supervisor:

```
// Start all services
larastack_supervisor()->start('all');

// Stop a specific service
larastack_supervisor()->stop('laravel-horizon');

// Restart a specific service
larastack_supervisor()->restart('laravel-horizon');

// Check the status of all services
$statuses = larastack_supervisor()->status('all');

// List all processes
$processes = larastack_supervisor()->list();
```

Available Artisan Commands
--------------------------

[](#available-artisan-commands)

You can also manage Supervisor processes directly from the command line using Artisan.

### Command Signature

[](#command-signature)

```
php artisan supervisor {action} {service?}
```

### Actions

[](#actions)

- **list** - List all processes.
- **status \[service\]** - Show the status of a specific service or all services.
- **start \[service\]** - Start a specific service or all services.
- **stop \[service\]** - Stop a specific service or all services.
- **restart \[service\]** - Restart a specific service or all services.
- **Examples**
- Start all services:

```
php artisan supervisor start all
```

- Stop a specific service (e.g., laravel-horizon):

```
php artisan supervisor stop laravel-horizon
```

- Get the status of all services:

```
php artisan supervisor status all
```

- Restart a specific service:

```
php artisan supervisor restart laravel-horizon
```

Process Statuses
----------------

[](#process-statuses)

The following statuses may be returned when querying the status of Supervisor-managed processes:

- STOPPED
- STARTING
- RUNNING
- BACKOFF
- STOPPING
- EXITED
- FATAL
- UNKNOWN

License
-------

[](#license)

This package is open-sourced software licensed under the `MIT` license.

### Key Points Covered:

[](#key-points-covered)

- **Installation** via Composer.
- **Configuration** for customizing Supervisor's RPC settings.
- **Usage** examples with both the Facade and the helper function.
- **Artisan Commands** to control Supervisor processes from the command line.
- A list of **process statuses** that Supervisor can return.
- A structured and clean `README.md` file that provides clear instructions for installation, configuration, usage,
- and available commands for your package.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

583d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62698a6bfeb5ddb8a4518fba524e34a938cce8f69fee150b9c8bad559e22c67b?d=identicon)[ariadata](/maintainers/ariadata)

---

Tags

artisanlarastacklaravelsupervisorlaravelartisansupervisorsupervisordlarastack

### Embed Badge

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

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

###  Alternatives

[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)[guratr/nova-command-runner

Laravel Nova tool for running Artisan commands.

43232.8k1](/packages/guratr-nova-command-runner)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1248.2k1](/packages/socialengine-sniffer-rules)[tamer-dev/laravel-env-cli

laravel commands to work with .env file in cli

126.5k](/packages/tamer-dev-laravel-env-cli)[sunaoka/laravel-facade-generator

Provide command line generation of facade layer files.

171.9k](/packages/sunaoka-laravel-facade-generator)

PHPackages © 2026

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