Package

Cboxdk Laravel Health

Health checks, Kubernetes probes, Prometheus metrics, and system monitoring for Laravel

Package

cboxdk/laravel-health

View on GitHub →

Health for Laravel

Health checks, Kubernetes probes, Prometheus metrics, and system monitoring for Laravel.

Quick Start

composer require cboxdk/laravel-health
php artisan vendor:publish --tag="health-config"
curl http://localhost/health

Features

  • Kubernetes Probes — liveness, readiness, and startup endpoints out of the box
  • Prometheus Metrics — /health/metrics with health check status and system metrics
  • 10 Built-in Checks — database, cache, queue, storage, Redis, environment, schedule, CPU, memory, disk space
  • System Metrics — CPU load, memory, disk, network via cboxdk/system-metrics
  • Container Aware — automatic cgroup detection for Docker/Kubernetes
  • JSON Metrics API — structured system metrics at /health/metrics/json
  • HTML Dashboard — optional real-time status UI
  • Token & IP Auth — protect endpoints with bearer tokens and IP allowlists
  • Response Caching — configurable TTL to reduce check overhead
  • Fully Extensible — implement HealthCheck contract to add custom checks

Requirements

  • PHP 8.3+
  • Laravel 11.x or 12.x

Documentation

Full documentation is available in the docs/ directory.

Testing

composer test
composer analyse
composer format

Credits

License

The MIT License (MIT). Please see License File for more information.

Cboxdk Laravel Health Related Articles

Laravel Health Status Package image

Laravel Health Status Package

Read article
Laravel Health Panel image

Laravel Health Panel

Read article
Health for Laravel: Kubernetes Probes and Prometheus Metrics image

Health for Laravel: Kubernetes Probes and Prometheus Metrics

Read article
New Laravel 11 Apps Include a Health Check Endpoint image

New Laravel 11 Apps Include a Health Check Endpoint

Read article
The New Laravel Forge Is Here: With Laravel VPS, Zero-Downtime Deployments, and a Fresh UI image

The New Laravel Forge Is Here: With Laravel VPS, Zero-Downtime Deployments, and a Fresh UI

Read article
Laravel Pulse is a health and performance monitoring tool for your Laravel applications image

Laravel Pulse is a health and performance monitoring tool for your Laravel applications

Read article

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Pushsilver

Pushsilver is simple invoicing for freelancers and small studios — send polished invoices, automate reminders, and get paid on time without the bloat.

Pushsilver

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing