swisnl / laravel-health
Monitor the health of a Laravel application
Requires
- php: ^8.1
 - illuminate/contracts: ^10.0|^11.0|^12.0
 - illuminate/http: ^10.0|^11.0|^12.0
 - spatie/laravel-health: ^1.23
 - spatie/laravel-package-tools: ^1.14.0
 
Requires (Dev)
- laravel/horizon: ^5.29
 - laravel/pint: ^1.0
 - swisnl/laravel-elasticsearch: ^0.5.0
 
README
Using this package you can monitor the health of your application by registering checks using spatie/laravel-health. It contains a default set of checks for SWIS applications, but you can also add your own checks.
Installation
You can install the package via composer:
composer require swisnl/laravel-health
Usage
This package is plug and play! If you would like to add your own checks, please see the documentation.
Default checks
- Debug mode
 - Environment
 - Optimized app
 - Database (when applicable)
 - Cache
 - Horizon (when applicable)
 - Queue (when applicable)
 - Used disk space (when applicable)
 - Security.txt (when applicable)
 - Schedule (when applicable)
 
If you want to disable a check, you can publish the config file and set the enabled key to false.
php artisan vendor:publish --tag="health-config"
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
If you discover any security related issues, please email security@swis.nl instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.