New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

cboxdk/laravel-health

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

Larablocks Analysis

cboxdk/laravel-health works with Laravel 12 and 13 (latest release v3.0.0, Sep 26, 2026).

Laravel 11 in earlier releases.

Recommendation checks

Solid choice

Solid choice: maintained and up to date, meets 3 of 4 checks; below the bar for Recommended on use.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Sep 26, 2026)
  • 10,310 downloads a month (at least 10,000)
  • 24 GitHub stars (needs 100)

State

Actively maintained
  • Last stable release: Sep 26, 2026.
  • 5 releases in the last 12 months.
  • First released: Mar 20, 2026.
  • Monthly downloads: 10,310.
  • 6 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.

Install
composer require cboxdk/laravel-health
Latest Version:v3.0.0
PHP:^8.4
Laravel:12 · 13
Older releases:11
License:MIT
Last Updated:Nov 14, 2026
Links: GitHub  ·  Packagist
Maintainer: cboxdk

Health for Laravel

Latest Version on Packagist GitHub Tests Action Status PHPStan Total Downloads PHP Version Laravel Version

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 the HealthCheck contract to add checks, or rebind RunsHealthChecks to replace the runner
  • Test Helpers — InteractsWithHealth and FakeHealthCheckRunner to test your endpoints without real checks
  • No External Assets — the dashboard ships its own CSS; nothing is loaded from a CDN

Requirements

  • PHP 8.4+
  • Laravel 12.x or 13.x

Documentation

Full documentation is available in the docs/ directory. Upgrading from 2.x? Read UPGRADING.md.

Development

composer qa        # code style, PHPStan (level max), tests, license check, audit
composer test
composer analyse
composer format

Security

Please report vulnerabilities privately; see SECURITY.md.

Credits

License

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

Alternatives to cboxdk/laravel-health

nwidart/laravel-metrics

OpenTelemetry metrics for Laravel that work under PHP-FPM and Laravel Octane, wi...

3,441 2
blackairplane/skylock-laravel

Reports a Laravel app's health and scheduled tasks to SkyLock, Black Airplane's...

1,269 0
net-os/laravel-vitals

Health checks for Laravel, centrally and per tenant, with a Horizon-style dashbo...

1,118 0
renoki-co/laravel-exporter-contracts

Base contracts implementation for Prometheus exports in Laravel.

176,069 5
fogeto/laravel-server-orchestrator

Laravel Prometheus monitoring package for multi-project server orchestration. Co...

3,856 2

Version History

Version Released PHP Laravel License
v3.0.0 ^8.4 ^12.0 || ^13.0 MIT
v2.0.1 ^8.3 ^11.0|^12.0|^13.0 MIT
v2.0.0 ^8.3 ^11.0|^12.0|^13.0 MIT
v1.0.1 ^8.3 ^11.0|^12.0|^13.0 MIT
v1.0.0 ^8.3 ^11.0|^12.0|^13.0 MIT