Introduction
Laravel Actuator adds production-ready monitoring endpoints to a Laravel application. It answers the questions that operators, orchestrators and monitoring tools ask a running service:
- Is it alive? Can the process still serve requests?
- Is it ready? Should it receive traffic right now?
- Are its dependencies healthy? Database, cache, Redis, disk space.
- What is running? Which build, which commit, which PHP and Laravel version?
- How is it configured? Which configuration, routes and scheduled tasks does it have?
- How much work does it do? Requests, queries, queued jobs and exceptions, as metrics for Prometheus.
The package is a port of Spring Boot Actuator.
It uses the same paths and the same status semantics. The health, info, env and
scheduledtasks endpoints also return the same JSON. Tools built for Spring Boot, such as
Spring Boot Admin, can read them.
The endpoints
Section titled “The endpoints”| Endpoint | Path | Answers | Exposed by default |
|---|---|---|---|
| Discovery | /actuator |
Which endpoints exist? | Yes |
health |
/actuator/health |
Is the application healthy? | Yes |
info |
/actuator/info |
What is running? | No |
env |
/actuator/env |
How is it configured? | No |
mappings |
/actuator/mappings |
Which routes does it serve? | No |
scheduledtasks |
/actuator/scheduledtasks |
What does the scheduler run, and when? | No |
prometheus |
/actuator/prometheus |
How much work does it do, and how fast? | No |
Only health is exposed by default, and it shows only an overall status. Everything else is opt-in.
The security model explains why.
Requirements
Section titled “Requirements”- PHP 8.2 or later
- Laravel 12 or 13
- Redis for the metrics in production. See installation.
How this documentation is organised
Section titled “How this documentation is organised”The documentation has four parts. Each part serves a different need.
TutorialLearning. Start here if you are new: one guided lesson from install to a custom health check.
How-to guidesWorking. Short recipes for one goal each, such as securing endpoints or configuring probes.
ReferenceLooking up. Every configuration key, endpoint response, built-in indicator and PHP class.
ConceptsUnderstanding. The design behind health aggregation, probes, security and Spring Boot compatibility.