Skip to content

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.

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.

  • PHP 8.2 or later
  • Laravel 12 or 13
  • Redis for the metrics in production. See installation.

The documentation has four parts. Each part serves a different need.