Adds Liveness and Readiness Probes in the Laravel application
cubesystems/laravel-health-check is a Laravel package for adds liveness and readiness probes in the laravel application.
It currently has 4 GitHub stars and 14.577 downloads on Packagist (latest version 1.3.0).
Install it with composer require cubesystems/laravel-health-check.
Discover more Laravel packages by cubesystems
or browse all Laravel packages to compare alternatives.
Last updated
Require the package using composer:
composer require cubesystems/laravel-health-check
You can set your monitoring system to ping the liveness and readiness URLs or CLI to get alerted if there are any problems.
In Kubernetes and OpenShift you can use the probes also for container health checks.
{APP_URL}/health-check/liveness
Liveness probe will respond with http 200 status code if the service functions without problems.
{APP_URL}/health-check/readiness
Readiness probe will respond with http 200 status code if the service is up and functions without problems.
php artisan healthcheck:check scheduler
php artisan healthcheck:check queue