Periodically schedule a job to send a heartbeat to a monitoring system with Laravel Heartbeat
Laravel Heartbeat is a good package to schedule a job to send a heartbeat to a monitoring system.
Installation
Require this package with composer:
composer require exolnet/laravel-heartbeat
If you don't use package auto-discovery, add the service provider to the providers array in config/app.php:
Exolnet\Heartbeat\HeartbeatServiceProvider::class
And the facade to the facades array in config/app.php:
'Heartbeat' => Exolnet\Heartbeat\HeartbeatFacade::class
Source Code
This post is submitted by our members. Submit a new post.
Tags: Tutorials Packages Sources Laravel 5.7 Laravel 5 Intermediate