oat-sa/bundle-health-check
oat-sa/bundle-health-check provides configurable health and readiness checks for PHP applications. It exposes diagnostic endpoints, verifies dependencies and service availability, and reports clear status for monitoring, load balancers, and orchestration tools so operators can detect failures early.
This release (2.3.3) is a patch. Two changes only: a CI secret reference fix (no runtime impact) and Symfony 7.4 support added to the compatibility matrix. There are no breaking changes, no deprecations, and no new public API. Upgrading from 2.3.2 is safe; the only reason to move forward deliberately is if you are running Symfony 7.4 (or planning to), which 2.3.3 now permits.
composer require oat-sa/bundle-health-check (or bump your existing constraint to ^2.3.3). Verify the PHP constraint in the package's composer.json before upgrading — Symfony 7.4 usually implies PHP 8.2+.config/bundles.php for a standard Symfony-style app; TAO-based installs register via the bundle manifest in the extension config). Confirm the registration path against the package README for your platform version — this differs between TAO generations.DependencyInjection/Configuration.php (what config keys actually exist), the HealthCheck/checker classes (what is measured by default), and the routing definition (what path the endpoint is exposed on).curl -i and read the JSON payload — the response shape tells you what the bundle already checks for free (typically DB connectivity, filesystem writability, and cache) before you write your own checks.autoconfigure: true or an explicit tags: entry. Keep each check small and side-effect free — one dependency per check, so a failure names the culprit.2.3.2 until you actually move to 7.4 if you want a minimal diff.debug:container --tag=<bundle tag> that your service is actually registered.try/catch, or one whose timeout fires, can be reported as "unknown" or omitted entirely. Assert on the contents of the payload in tests, not just the HTTP status code.php -r bootstrap before blaming the bundle. Nine times out of ten the failure is credentials, a missing PHP extension, or a permissions issue on a writable directory — not the bundle.SONAR_HOST_URL fix is internal to the project's own pipeline; it changes nothing for consumers. But it is a reminder: if you vendor or fork this package, grep your own workflows for hardcoded host URLs and secrets before publishing.How can I help you explore Laravel packages today?