Laravel Heartbeat is a good package to schedule a job to send a heartbeat to a monitoring system.

laravel heartbeat


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

Source Code