jericizon/laravisor

Generate laravel supervisor configuration in easiest way.

dev-master 2020-02-18 05:40 UTC

This package is auto-updated.

Last update: 2025-04-26 20:41:11 UTC


README

Generate laravel supervisor configuration in easiest way.

Before proceeding make sure you already have supervisor installed into your server. https://laravel.com/docs/master/queues#supervisor-configuration

Configure supervisor

Update supervisor config, edit the file or equivalent. /etc/supervisor/supervisord.conf

Update line below:

[include]
files = {your_project_root_path}/config/laravisor-conf/*.conf

Installation

$ composer require jericizon/laravisor

Publish config files

$ php artisan vendor:publish --tag=laravisor-config

Create supervisor config file

$ php artisan laravisor:create {worker_name}

Restart supervisor

$ php artisan laravisor:restart

After creating new config file. make sure restart the supervisor in able to get the new configuration

License

MIT

Copyright (c) 2020, Jeric