yzalis/supervisor
Laravel package to manage Supervisor from your app: generate and update program configs, control processes (start/stop/restart), and check status via a clean API/artisan commands. Useful for deploying queue workers and long-running services.
laravel-worker), Horizon, or custom processes.Artisan commands for process lifecycle management). Useful for applications with dynamic process requirements (e.g., scaling workers based on load).Process facade or Symfony Process could be alternatives for simpler use cases.supervisord.conf paths or permissions). The package abstracts this but doesn’t eliminate it.Monolog) and monitoring (e.g., Laravel Telescope or Prometheus).laravel-worker) or custom PHP scripts?supervisord.conf) versioned and deployed?pcntl or Symfony Process)?laravel-worker or custom queue workers (e.g., php artisan queue:work).Artisan commands (e.g., php artisan supervisor:restart).config/supervisor.php to centralize Supervisor settings (e.g., process names, paths).Process facade or Symfony Process may suffice (no Supervisor dependency).startProcess(), stopProcess(), and reloadConfig() map directly to Supervisor needs.onProcessStateChange), useful for logging or alerts.Supervisor::start('queue-worker')).Artisan commands or cron jobs with package-managed processes.* * * * * cd /app && php artisan queue:work --daemon with a Supervisor-managed process.supervisord.conf to Laravel’s config files where possible (e.g., process definitions).addProcess() method to define processes dynamically.Symfony Process or similar.supervisord.conf (e.g., log paths, user permissions).composer require yzalis/supervisor.php artisan vendor:publish --tag=supervisor-config.config/supervisor.php or dynamically via code.supervisor:restart-all).storage/logs/supervisor.log).ping endpoint that queries Supervisor status).config/supervisor.php).Artisan, config files) for process management.README or wiki).config/supervisor/local.php, staging.php)./var/log/supervisor/supervisord.log) and package error logs.chown -R www-data:www-data /app).supervisord.conf syntax after changes.supervisorctl CLI for manual verification.Artisan commands to trigger package methods (e.g., php artisan supervisor:status).How can I help you explore Laravel packages today?