Skip to content

Laravel Actuator

Health checks for Kubernetes probes and load balancers, metrics for Prometheus, plus build, runtime, configuration, route and scheduler insight. Same paths and JSON as Spring Boot Actuator.
Terminal window
composer require nwidart/laravel-actuator
curl http://localhost/actuator/health
# {"status":"UP","groups":["liveness","readiness"]}

Health that orchestrators understand

Status aggregation, HTTP 503 for DOWN and OUT_OF_SERVICE, and ready-made liveness and readiness groups for Kubernetes probes.

Built-in indicators

Database, cache, Redis, disk space and maintenance mode. Write your own in one class.

Spring Boot Actuator format

health, info, env and scheduledtasks use the Spring Boot JSON, so tools such as Spring Boot Admin can read them.

Metrics for Prometheus

Requests, queries, queued jobs, cache operations, scheduled tasks and exceptions, with OpenTelemetry names, ready to scrape. Add your own counters and timers.

Safe by default

Only health is exposed, and it hides its details. Add middleware and a gate before you open anything else.