Download the PHP package josebailon/laravel-supervisord-control without Composer
On this page you can find all versions of the php package josebailon/laravel-supervisord-control. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download josebailon/laravel-supervisord-control
More information about josebailon/laravel-supervisord-control
Files in josebailon/laravel-supervisord-control
Package laravel-supervisord-control
Short Description Laravel package for controlling Supervisord processes.
License GPL-3.0-or-later
Informations about the package laravel-supervisord-control
JBO Laravel Supervisor Control Panel
This Laravel package generates a panel where Supervisor can be controlled through HTTP/XML-RPC requests under the hood.
Instalation
Route name
Route to control panel can be referenced with name lsc_index
Configuration
Default configuration and view will be used if no configuration file or view are published.
To publish configuration file to /config/jbosupervisord.php you need to run:
To publish used view to /resources/views/vendor/lsc
Options in configuration file
Field | Default | Description |
---|---|---|
host | 127.0.0.1 | Host where Supervisor is running |
port | 9001 | Port where Supervisor is listening |
username | user | User name allowed to authenticate with Supervisor |
password | password | Pasword for that user |
route_prefix | supervisord | Prefix added to routes used by this package. Control pannel can be accessed in this prefix. for example https://domain/supervisord |
midlewares | null | Middlewares applied to routes used by this package. It is usefull to add the auth middleware if needed. You can specify several middlewares in a comma separated string: 'auth,othermiddleware' |
extend_view | false | You can specify a string with the Blade path of a view in order to be extended. For example if you want to extend a layout called 'layouts.path' you must specify that string in this field. In order for this to work, next field called section must be populated too |
section | false | Must contain a string with the name of the @yield directive where the view will be shown. For example if the extended view have a Blade operator @yield('content') you should specify 'content' in this field |
Supervisor configutarion
Supervisor must have configured inet_http_server. This server should never be exposed directly to public internet and should use username and password. Read the security advices in the link.
Customizing the view
The default view has Bootstrap css clases in its elements. If you want to behave like that simply add Bootstrap to the extended view used.
If you want to customize the view, publish the views to /resources/views/vendor/lsc using:
index.blade.php is the main view called by this package. You can override the extending view behaviour in that file.
content.blade.php is the view containing all tables and buttons. You can edit css classes in that file to suit your needs.