hostme/request-id-bundle
Symfony bundle that assigns a unique request ID to every incoming HTTP request, propagates it through response headers and application logs, and makes it simple to correlate traces across distributed services for faster debugging and better observability.
Bundle naming and the vendor's history point to a Symfony bundle. On Laravel this will not install cleanly or idiomatically — the actionable output is the pattern, not the dependency.Look elsewhere when:
For executives: The capability is real and cheap — one correlation ID that follows a request across every service and every log line, so an engineer can answer "what happened to this user's request?" in minutes instead of an afternoon. That is a direct reduction in incident cost and on-call load. The package itself, however, is not a buy: it is essentially unmaintained (last release March 2023, three GitHub stars, no downstream users), and it appears to target Symfony rather than our Laravel stack. Recommendation: do not adopt the dependency; adopt the pattern. A native implementation is roughly one engineer-day, carries no supply-chain exposure, and is fully under our control. Budget the day, ship the capability, and revisit full distributed tracing as a separate, larger decision once we have volume to justify it.
For engineering: The requirements are a request-scoped ID (ULID or UUIDv4), inbound header read with generate-if-absent semantics, injection into every log record's context, and propagation on all outbound HTTP calls including queue jobs and scheduled commands — the last two are where most homegrown implementations silently break, and they are the first thing to test. Do not take this package as a dependency: it sits in the request path, has no maintainers, and its header names and log-context keys should match our own conventions rather than being inherited from an abandoned bundle. Use it as a design reference if useful. Coordinate with whoever owns the tracing decision so we do not end up with two competing ID schemes once APM lands.
How can I help you explore Laravel packages today?