Download the PHP package mattyeend/health-status without Composer
On this page you can find all versions of the php package mattyeend/health-status. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package health-status
Laravel HealthStatus
A Laravel package to monitor application health, including:
- Database connection & latency
- Ping status for external hosts
- Queue sizes
- Cron heartbeat
- Disk space
Supports Laravel 10, 11, 12, and 13.
Installation
Require the package via Composer:
Publish Config & Views
Configuration
The published file config/healthstatus.php contains:
- Hosts to ping
- Queues to check
- Cron heartbeat settings
- Disk space thresholds
- Database response time thresholds
- HTTP endpoint settings
- Middleware for endpoint protection Example:
Health Endpoint
By default:
- Web view:
/healthstatus - JSON:
/healthstatus/jsonYou can changehttp.endpointinconfig/healthstatus.php.
Cron Heartbeat
In Laravel 10, 11
Add to app/Console/Kernel.php:
In Laravel 12
Add to routes/console.php:
Then make sure your server runs Laravel’s scheduler:
Example Output
JSON
Securing the Endpoint
Add middleware in config/healthstatus.php:
Testing
Run the included tests:
License
This package is licensed under the MIT License.
Contributing
Feel free to fork the repository and submit pull requests for improvements or new features!
All versions of health-status with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
laravel/framework Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0
laravel/framework Version ^10.0 || ^11.0 || ^12.0 || ^13.0
The package mattyeend/health-status contains the following files
Loading the files please wait ...