cubesystems/laravel-health-check

Adds Liveness and Readiness Probes in the Laravel application
15,259 4
Install
composer require cubesystems/laravel-health-check
Latest Version:1.3.0
License:MIT
Last Updated:Sep 21, 2022
Links: GitHub  ·  Packagist
Maintainer: miks

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

Related Packages

gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444