Installation
Installation
Requirements
- PHP 8.3+
- Laravel 11.x or 12.x
Install via Composer
composer require cboxdk/laravel-health
The package auto-discovers its service provider. No manual registration is needed.
Publish Configuration
php artisan vendor:publish --tag="health-config"
This creates config/health.php with all default values.
Verify Installation
curl http://localhost/health
A 200 response with JSON output confirms the package is working. The default liveness endpoint runs a database check.