manomano-tech/correlation-ids-monolog
Monolog processor that injects correlation IDs into every log record, with built-in support for ManoMano's correlation ID conventions and propagation, making it easy to trace requests across services in Laravel and PHP applications.
manomano-tech/correlation-ids). It is not the source of correlation IDs — it is the last-mile wiring into Monolog. The strategic decision is therefore less "buy this" and more "standardize on a correlation-ID convention and pick a maintained processor to enforce it."Bottom line for the roadmap: pursue the capability (correlation IDs in logs) as a low-effort, high-leverage observability win — but do not take a dependency on this specific archived package to deliver it.
Consider only in narrow, legacy circumstances:
manomano-tech/correlation-ids (the companion package this processor depends on) and need the matching Monolog integration, and you are pinned to a Monolog 1.x codebase.Look elsewhere (strongly recommended) when:
Practical guidance: treat this package as a reference implementation of the pattern rather than a dependency. Read it, copy the ~30-line idea into your own codebase, and retain full control.
To executives (one paragraph): Production debugging today is slow because logs from different services can't be reliably stitched together for a single request. Adding a correlation ID to every log line is a small, low-cost change that materially shortens incident diagnosis and improves customer-facing reliability metrics (MTTR). The specific open-source package here is abandoned, so my recommendation is to deliver the same outcome with a small in-house processor (a few hours of engineering) rather than inherit an unmaintained dependency. Net: real observability value, negligible cost, no vendor risk.
To engineering leadership / architects: This package demonstrates a proven pattern — a Monolog processor that injects a correlation ID onto every record — but it is archived, last released in 2018, Monolog-1.x era, with no dependents. The capability is worth standardizing on; the artifact is not. Proposal: define the correlation-ID contract (header name, generation rules, propagation to jobs and outbound calls), then implement a small, tested Monolog processor in-house or adopt a maintained alternative. Success criteria: every log line carries a traceable ID; a single request can be reconstructed end-to-end; zero increase in third-party dependency surface.
To engineering (implementation summary): A Monolog processor is a low-risk, well-understood extension point — it wraps log records and appends context before handlers write them out. Implementation is small and testable, integrates cleanly with Laravel's logging stack, and avoids the archived package's compatibility and security unknowns. Effort: hours, not sprints.
How can I help you explore Laravel packages today?