myschoolmanagement/elastic-apm-symfony-bundle
A Symfony bundle that integrates Elastic APM with your application, providing distributed tracing, transaction and error monitoring, and performance insights. Track requests, identify bottlenecks, and diagnose failures with minimal setup and configuration.
elastic/apm-agent-php extension, or (c) OpenTelemetry PHP + Collector. 1.0.6 (listeners moved to the kernel.finish_request event) is a reliability fix that materially reduces the "traces arrive incomplete / spans missing at request end" failure mode — which is exactly the class of defect that makes an APM rollout look broken to stakeholders.finish_request (an HTTP-kernel event), this is scoped to web request lifecycles. If your roadmap includes Messenger consumers, queued jobs, or long-running workers (Octane, RoadRunner, Swoole), you must separately decide how those get traced — this package does not cover them by default.Adopt when:
capture_body, SQL bindings, header redaction) before production.Look elsewhere when:
elastic/apm-agent-php (zero-code auto-instrumentation, broader framework coverage) or OpenTelemetry PHP if you want vendor-neutral traces across non-PHP services.finish_request semantics won't help; validate coverage explicitly or pick an agent-based/OTel approach.Note for this release: 1.0.6 is a behavioral fix, not a breaking change — listeners that previously ran earlier in the kernel lifecycle now run at finish_request. Verify any custom listener ordering or code that expected spans to be finalized before the response is sent; re-baseline dashboards after upgrade since trace completeness may visibly improve.
For executives: This is a low-cost, low-lock-in way to get real visibility into request latency and error rates, which is the prerequisite for setting SLOs and cutting mean time to recovery. The 1.0.6 release fixes a timing bug that caused traces to be incomplete at the end of a request — the exact symptom that makes an observability investment look like it isn't working. Recommendation: pilot on one or two high-value services, measure MTTR and latency-regression detection, then decide on broader rollout versus standardizing on the official Elastic agent or OpenTelemetry.
For engineering: A Composer-installable Symfony bundle that instruments transactions and spans and ships them to Elastic APM Server, no PHP extension to operate. 1.0.6 moves listener registration to kernel.finish_request so telemetry reliably flushes at request end — fewer dropped or partial traces. Before production: pin to an exact version, set the sampling rate deliberately, redact request bodies/headers/SQL bindings, and confirm whether finish_request-based capture is sufficient for your queue and long-running-worker workloads (it likely is not — plan a separate path for those).
How can I help you explore Laravel packages today?