This package provides a simple healthcheck endpoint for your Laravel application.
You can install the package via composer:
composer require coreproc/laravel-healthcheck
Publish the config file:
php artisan vendor:publish --provider="Coreproc\LaravelHealthcheck\HealthcheckServiceProvider"
Once installed, you can access the healthcheck endpoint at /healthcheck
.
You can configure the path in the config/healthcheck.php
file along with specifying which services you want to check.
// config/healthcheck.php
return [
'path' => 'healthcheck',
'database' => true,
'redis' => true,
'horizon' => true,
];