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.
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:
And the facade to the facades array in config/app.php:
'Heartbeat' => Exolnet\Heartbeat\HeartbeatFacade::class
This post is submitted by one of our members. You may submit a new post here.