forci/http-logger-bundle
A Symfony bundle that captures and logs HTTP requests and responses, helping you debug APIs, trace outgoing calls, and inspect traffic in your application. Configurable handlers let you control what gets recorded and where the logs are written.
Architecture fit
Kernel::registerBundles() and a DI Extension. Laravel has no equivalent lifecycle and no package discovery hook for it. The entry point is uninvokable in our stack as shipped.symfony/http-client middleware would not, because Laravel resolves outbound calls through Guzzle via Illuminate\Http\Client. This distinction is the single most important unknown and should be resolved by a source read before any other spend.Integration feasibility
ServiceProvider that constructs the bundle's services manually, bypassing registration entirely. That is bespoke glue we own and must re-verify on every PHP and Guzzle bump. In practice we would vendor the logging class and discard the Symfony scaffolding — at which point we have adopted a pattern, not a dependency, and should say so plainly to stakeholders.Technical risk
NOASSERTION is a hard stop. GitHub could not detect a recognized license; absence of a grant defaults to all-rights-reserved. Legal cannot approve commercial use, modification, or redistribution until the actual LICENSE text is reviewed. This is a stop-the-line item that must precede engineering effort, not run alongside it.Key questions
symfony/http-client middleware, Guzzle middleware, PSR-18 decorator, or a Monolog handler? Only the last two survive contact with Laravel.LICENSE file at all?Authorization, cookies, and configurable body fields by default, or is redaction opt-in?Stack fit
Illuminate\Http\Client\Events\RequestSending, ResponseReceived, and ConnectionFailed, plus Guzzle middleware for gaps. Telescope and Pulse cover dev/staging visibility; a Monolog channel with a correlation-ID processor covers production. The functional requirement is met first-party in roughly 50–80 lines with full control over redaction and sampling.Migration path
Compatibility
Sequencing
NOASSERTION.Maintenance
Support
Scaling
Failure modes (ranked by severity)
Ramp-up
Illuminate\Http\Client events with a dedicated Monolog channel, a correlation-ID processor, and a reviewed redaction tap. Estimated 2–4 days including tests and redaction sign-off — smaller, cleanly licensed, fully observable, and it retires every risk above.How can I help you explore Laravel packages today?