monsieurbiz/healthcheck-bundle
Health check endpoints for Sylius applications. Exposes lightweight HTTP routes that report application and service status, so monitoring tools and load balancers can confirm your store is up and dependencies like the database are reachable.
GET/HEAD health endpoint is the contract your load balancers, Kubernetes probes, and uptime monitors depend on. This release makes that contract stronger by handling health requests on kernel.request at PHP_INT_MAX, i.e. before routing, security, channel, and locale listeners — health checks stop depending on firewall rules, locale negotiation, or route registration succeeding. That is a product reliability decision, not just a technical one: probe failures become genuine application-health signals instead of configuration noise.healthcheck.…) from downstream services — a cleanup item to schedule in the next maintenance window rather than new work to plan.HEALTHCHECK_PATH is now read from the first present environment source at container compile time. This makes the path a build-time/deploy-time configuration decision with a documented default and literal-path normalization — product-relevant because changing it requires a container cache rebuild, which must be reflected in runbooks and release checklists.Adopt when:
HEALTHCHECK_PATH) with a documented default.Look elsewhere when:
route('…healthcheck…') or importing the bundle's routes must be updated.HEALTHCHECK_PATH changes to be followed by a cache rebuild — dynamic, tenant-specific paths are out of scope.To executives: This is a small, low-risk infrastructure component that keeps our services' health endpoints accurate, so monitoring and autoscaling react to real outages rather than to middleware misconfiguration. The v1.1.0 release makes the health check fire earlier in the request lifecycle than security, locale, and routing logic — meaning fewer false "unhealthy" alarms and faster, more trustworthy incident detection. There is no new licensing cost and the dependency footprint gets smaller (the Symfony Routing dependency and the bundle's route layer are removed).
To engineering: v1.1.0 is a breaking setup change, and it should be treated as such in the upgrade plan. Remove the previous bundle route imports, register the bundle, and optionally set HEALTHCHECK_PATH. Route-name-based URL generation is gone — grep for health-route name usage. The path is read from the first present environment source at container compile time with a documented default and literal-path normalization, so rebuild the container cache after changing it. Health requests are now handled on kernel.request at PHP_INT_MAX, ahead of routing, security, channel, and locale listeners; the controller stays private internal wiring. Tagged boolean checks, failure logging, and custom HTTP exceptions are preserved. Verification reported: 26 tests / 415 assertions locally, plus all six PHP/Symfony CI combinations green for this commit. Scope expectation-setting: this is the same commit as v1.0.1, reissued under a minor version — do not expect new capabilities, and budget the work as a config/cleanup migration rather than a feature adoption.
How can I help you explore Laravel packages today?