m6web/log-bridge-bundle
M6Web LogBridgeBundle provides a Symfony logging bridge that integrates PSR-3/Monolog-compatible loggers into the service container, making it easy to configure and route application logs consistently across services with minimal setup.
The framing problem first. Despite the brief, this is not a Laravel package — it is a Symfony Bundle (m6web/log-bridge-bundle, repo BedrockStreaming/LogBridgeBundle). Symfony Bundles are not installable into Laravel: there is no Bundle registration lifecycle, no DependencyInjection\Extension, no Resources/config/services.yml autoloading, and no config/packages/*.yaml convention in a Laravel app. Any assessment of "integration" must therefore separate adopting the bundle (Symfony-only) from adopting the pattern (portable to Laravel).
Request and outbound Response with correlation context. That concept maps cleanly onto Laravel middleware plus a Monolog processor, but none of the bundle's wiring survives the trip. Laravel's Illuminate\Http\Request/Response extend Symfony's HttpFoundation types, so the data model is compatible even though the container model is not.symfony/http-foundation, symfony/http-kernel, and monolog/monolog version constraints, and do they resolve against our pinned Symfony components?kernel.terminate?m6web/*) diverge from the repo org (BedrockStreaming)? Rebrand drift is a mild maintenance smell.TerminateMiddleware (or LogRequestResponse middleware) that captures method, path, status, duration, and a correlation ID; a Monolog processor that injects the correlation ID; an explicit allowlist/denylist for headers and body fields.symfony/http-foundation resolves to the same major Laravel pins; confirm Monolog major version aligns with the app's logging.php channel handlers; confirm PHP version floor.Decision framing for the product owner: this package is a design input, not a procurement. Budget it as reference material for a small first-party implementation, not as a dependency to be pinned and supported.
Recommendation: do not add as a dependency for a Laravel target. Use it as a scoped reference for a first-party middleware, contingent on a redaction review, and re-evaluate only if the estate contains Symfony services where the bundle installs cleanly.
How can I help you explore Laravel packages today?