PHP code example of concept7 / laravel-supervisord-monitor

1. Go to this page and download the library: Download concept7/laravel-supervisord-monitor library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

concept7 / laravel-supervisord-monitor example snippets


return [
    'protocol' => 'https',
    'host' => env('SUPERVISORD_MONITOR_HOST', ''),
    'path' => env('SUPERVISORD_MONITOR_PATH', ''),
    'basic_auth' => [
        'username' => env('SUPERVISORD_MONITOR_BASIC_AUTH_USERNAME', null),
        'password' => env('SUPERVISORD_MONITOR_BASIC_AUTH_PASSWORD', null),
    ],
    'daemon_names' => env('SUPERVISORD_MONITOR_DAEMON_NAMES', ''),
];
bash
php artisan vendor:publish --tag="supervisord-monitor-config"

php artisan supervisord-monitor-cli:restart