Download the PHP package daun/laravel-uptime-ping without Composer
On this page you can find all versions of the php package daun/laravel-uptime-ping. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daun/laravel-uptime-ping
More information about daun/laravel-uptime-ping
Files in daun/laravel-uptime-ping
Package laravel-uptime-ping
Short Description Ping an endpoint regularly to monitor uptime and system status.
License MIT
Homepage https://github.com/daun/laravel-uptime-ping
Informations about the package laravel-uptime-ping
📡 Laravel Uptime Ping
A dead man's switch for Laravel apps that regularly pings an endpoint to confirm the site is up and its task scheduler is processing important jobs, such as backups and notifications. A missed ping indicates issues with the job queue.
Useful with health monitors like Uptime Kuma.
Installation
Install the package via composer:
How it works
An uptime ping sent from within the job queue is the most reliable method for detecting a broken job queue. While your site may be running, a misconfigured cron job might prevent your backups and notifications from being processed. A standard health check wouldn't necessarily identify this issue.
The package will send a GET request to your configured endpoint every minute. This way, you'll know immediately if the site goes down or the job queue stops processing items.
Basic setup
Define the URL to ping in your .env
file. For more customization, see below.
Configuration
To change the frequency of pings, request method, timeout, number of retries, or add custom headers,
publish and adjust the config file by running php artisan vendor:publish --tag=uptime-ping-config
.
Adjust any settings in config/uptime-ping.php
.