New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

concept7/laravel-supervisord-monitor

3,370 1
Install
composer require concept7/laravel-supervisord-monitor
Latest Version:0.0.5
PHP:^8.1
Laravel:9 · 10
License:MIT
Last Updated:Jun 19, 2023
Links: GitHub  ·  Packagist
Maintainer: concept7

"Supervisord Monitor"

Installation

You can install the package via composer:

add the following to repositories in the composer.json:

{
    "type": "git",
    "url": "https://github.com/concept7/laravel-supervisord-monitor.git"
}
composer require concept7/laravel-supervisord-monitor

You can publish the config file with:

php artisan vendor:publish --tag="supervisord-monitor-config"

This is the contents of the published config file:

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', ''),
];

Usage

Add the following lines to the .env.

When you have the url: https://supervisor-monitor.xyz/supervisor

SUPERVISORD_MONITOR_HOST="supervisor-monitor.xyz"
SUPERVISORD_MONITOR_PATH="supervisor"
SUPERVISORD_MONITOR_BASIC_AUTH_USERNAME="<auth username>"
SUPERVISORD_MONITOR_BASIC_AUTH_PASSWORD="<auth password>"
SUPERVISORD_MONITOR_DAEMON_NAMES="<daemon name as listed in the supervisor monitor web page>"

Run restart with following command

php artisan supervisord-monitor-cli:restart

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

concept7/health-checks

Application health checks for Concept7 projects

21,512 0
concept7/laravel-sendinblue

Laravel package for sending transactional emails with Sendinblue using Sendinblu...

6,494 5
concept7/statamic-health

Monitor the health of a Statamic application

4,280 0
concept7/kite-php-sdk

Framework-agnostic Kite PHP SDK for project monitoring

2,658 0
concept7/laravel-kite

Laravel integration for Kite monitoring, reporting project metadata to the Kite...

2,490 0

Version History

Version Released PHP Laravel License
0.0.5 ^8.1 ^9.0|^10.0 MIT
0.0.4 ^8.1 ^9.0|^10.0 MIT
0.0.3 ^8.1 ^9.0|^10.0 MIT
0.0.2 ^8.1 ^9.0|^10.0 MIT
0.0.1 ^8.1 ^9.0|^10.0 MIT