Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Health Checker Laravel Package

arquivei/laravel-health-checker

A Laravel package for adding health check endpoints to your application. Configure checks for services like database, cache, and storage, then expose them via routes that return clear status responses—useful for monitoring, uptime probes, and load balancer checks.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping: "do we ship a /health endpoint this sprint, or next quarter?" This package collapses a recurring platform-hygiene backlog item into hours instead of days. That matters most when the endpoint is a blocker for something else — autoscaling, zero-downtime deploys, or a customer-facing uptime SLA — rather than a nice-to-have.
  • Build vs. buy for platform plumbing. A health check is deceptively simple: one route, a handful of dependency probes, a status code contract. The real value here is the boilerplate you don't have to own — built-in DB/cache/queue/storage checks, a custom-check interface, JSON shape, and configurable route/middleware. The build case is credible (~a day of engineering), so this is a genuine trade, not a foregone conclusion. Buy wins when the team is small and the endpoint is not differentiated; build wins when you need bespoke semantics (tenant-scoped checks, weighted readiness, cached probes against paid APIs).
  • Observability roadmap sequencing. Health checks answer "is the app able to serve traffic?" — a different question from "is it fast?" and "what is broken?". This package lets you close the availability gap now and defer APM/tracing (Sentry, OpenTelemetry, Laravel Pulse) to a later milestone without leaving a hole in your deployment gate.
  • Deployment and reliability readiness criteria. It directly unblocks: Kubernetes liveness/readiness probes, load balancer target-group health, uptime monitor configuration, and pre-deploy smoke tests. Each of these is an acceptance criterion some enterprise buyer or internal SRE gate will ask about.
  • Custom checks as a product surface, not just an ops detail. The extensible check API means dependency status can be made first-class: search cluster reachable, third-party API credential valid, object storage writable, queue backlog under threshold. That is the raw material for a status page or an internal incident-triage view — "is this us or is this Stripe?" becomes a five-second answer, which is an MTTR decision, not a coding decision.
  • Risk-tiering decision. Because the blast radius is bounded (one unauthenticated-by-default HTTP route, no persistence layer implied, MIT licensed), this can be approved at a lower review tier than an auth or payments dependency. That is itself a useful PM output: it keeps a small ops win from consuming a full architecture review cycle.

When to Consider This Package

Adopt the evaluation when:

  • You run Laravel 10/11/12 on PHP 8.x and containerized infrastructure (Kubernetes, ECS, Nomad) where probe endpoints are mandatory.
  • The endpoint is wanted soon and the team has no dedicated platform engineer to own a bespoke implementation.
  • You want the standard 200/503 JSON contract that load balancers and orchestrators already understand, with middleware available to restrict access.
  • You are comfortable owning a thin internal wrapper around a small third-party package — i.e., you can replace it in a day if it goes stale.

Look elsewhere, or build it, when:

  • Adoption signals are thin. 9 stars, 0 dependents, and a major-version release with an empty changelog are all real. For a long-lived or regulated product, the correct posture is adopt behind our own interface, pinned to an exact version — or reimplement in ~150 lines and own it outright. Do not let a roadmap depend on upstream.
  • You need real observability. This is a liveness/readiness primitive, not metrics, tracing, or alerting. If the underlying need is "why is it slow," the answer is Pulse/Telescope/OpenTelemetry plus an APM vendor, not this.
  • Your probes would call paid or rate-limited third-party APIs on every poll. Health checks run every few seconds; a naive check against a metered dependency is a cost incident waiting to happen. Caching or an out-of-band check pattern is a prerequisite, not a follow-up.
  • You need an authenticated, historical, customer-facing status page. That is a hosted product (Statuspage, Better Stack), not this.
  • Your platform already provides it. Laravel Cloud, Vapor, or a managed host may already expose health endpoints — verify before adding a dependency.
  • You're not on Laravel (Lumen, Symfony, or a polyglot fleet) — the value is the framework integration.

Blocking questions before adoption:

  1. Declared Laravel/PHP constraints in composer.json — verify against the production minor version, not just the major.
  2. What changed in 4.0.0, and is there an upgrade guide? An empty 4.0.4 changelog means every future bump is a diff-reading exercise; budget for that.
  3. Does it publish config, register middleware, or add routes by default — and is the endpoint public on install? That is a security review item, not an ops detail. Unauthenticated dependency-status endpoints leak infrastructure.
  4. Maintainer concentration and issue response time — single-maintainer projects are a standing (if low-severity) risk.
  5. Does the check interface support caching/timeouts, so a hung dependency can't hang the probe itself?

How to Pitch It (Stakeholders)

For executives (one paragraph): We can add a standard health check to our Laravel application at low cost rather than scheduling custom engineering work. This unlocks zero-downtime deploys, autoscaling, and uptime monitoring — the operational basics enterprise buyers and our SRE gates expect — and shortens incident diagnosis by making "is the app healthy and are its dependencies reachable?" a single queryable endpoint. It is MIT-licensed, has no vendor lock-in, and is small enough to replace in a day if needed, so the financial and strategic risk is minimal. Recommendation: approve a one-day spike, not a multi-week project.

For engineering: Treat this as an accelerator for boilerplate we would otherwise write ourselves, not an architectural dependency. We adopt it pinned to an exact version, behind a thin internal HealthCheck adapter so the package can be swapped or forked without touching call sites. Two non-negotiables before it hits production: the route must be restricted (middleware/IP allowlist, or split public liveness from internal readiness), and checks against metered third-party services must be cached rather than executed on every probe. We also assume maintenance risk given low adoption and an undocumented 4.x major — so we accept that reading diffs on upgrade is part of the cost of ownership. If the spike surfaces friction on the Laravel version constraint or the check API, we fall back to our own implementation, which is a day of work and removes the dependency entirely.

PM stance: Conditionally adopt for internal probe and deployment-gate use, scoped to a timeboxed evaluation, with a build-it-ourselves fallback pre-agreed. Do not attach roadmap commitments to upstream behavior.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc