myopensoft/laravel-health-checker

Laravel Health Checker library is for server to send server health info to receiver server and be processed.

1.1.4 2024-03-12 01:10 UTC

This package is auto-updated.

Last update: 2024-10-12 02:24:36 UTC


README

Latest Version on Packagist Total Downloads

Laravel Health Checker library is for server to send server health info to receiver server and be processed.

Installation

You can install the package via composer:

composer require myopensoft/laravel-health-checker

You can publish and run the migrations with:

You can publish the config file with:

php artisan vendor:publish --provider="Myopensoft\HealthChecker\HealthCheckerServiceProvider" --tag="health-checker-config"

This is the contents of the published config file:

return [
    'receiver_url' => env('HEALTH_RECEIVER_URL', '127.0.0.1'),
    'verify_ssl' => env('HEALTH_VERIFY_SSL', 'true'),
    'access_token' => env('HEALTH_ACCESS_TOKEN', ''),
    'server_token' => env('HEALTH_SERVER_TOKEN', '')
];

Usage

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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