LaravelPackages.net
Acme Inc.
Toggle sidebar
cubesystems/laravel-health-check

Adds Liveness and Readiness Probes in the Laravel application

14.577
4
1.3.0
About cubesystems/laravel-health-check

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

Health Check for Laravel

Usage

Require the package using composer:

composer require cubesystems/laravel-health-check

Using the health checks

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.

Liveness Probes

{APP_URL}/health-check/liveness
Liveness probe will respond with http 200 status code if the service functions without problems.

Readiness Probe

{APP_URL}/health-check/readiness
Readiness probe will respond with http 200 status code if the service is up and functions without problems.

Scheduler Liveness Probe

php artisan healthcheck:check scheduler

Queue Liveness Probe

php artisan healthcheck:check queue

Star History Chart