tourze/request-id-bundle
A Symfony bundle that assigns a unique ID to each incoming HTTP request and propagates it through headers and logs, making it easier to trace, correlate, and debug requests across services and environments.
X-Request-ID) and makes it available to logs, responses, and downstream calls. This directly supports mean-time-to-resolution (MTTR) goals and support-ticket triage — a customer complaint can be traced to a single request across services.Consider adopting when:
X-Request-ID (or similar) and propagate it to logs and outbound HTTP calls.Look elsewhere or build in-house when:
Caveats for this release: Version 1.0.1 is a patch with an empty changelog (compare link only), indicating active but lightly documented maintenance. Pin the version, review the diff, and treat the changelog transparency as a minor maturity signal rather than a blocker.
To executives: A low-cost, low-risk utility that makes every request traceable in logs. It shortens incident investigation and support resolution time without infrastructure changes or vendor spend. Because the capability is small, the main decision is "adopt a maintained package vs. write a few dozen lines ourselves" — either is cheap; the package is justified if it saves ongoing maintenance.
To engineering: Drop-in request-correlation middleware with header generation/propagation and PSR-3-friendly logging. Low footprint, no runtime dependencies of consequence. Before adoption, confirm Laravel integration (the "bundle" naming hints at Symfony origins), define the trusted-header policy to prevent spoofed IDs, and confirm queue/job propagation behavior. The 1.0.1 patch has no functional detail in its notes — pin to 1.0.1, review the diff, and avoid floating constraints. If those checks pass, it replaces bespoke middleware with a maintained dependency; if they don't, a small internal middleware remains a reasonable fallback.
How can I help you explore Laravel packages today?