Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Log Bridge Bundle Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Stack-fit gating (the first decision): This is a Symfony bundle, not a Laravel package. Its value to a Laravel roadmap is near zero as a drop-in; the only real decision it informs is "do we have any Symfony services, or are we evaluating a Symfony-based acquisition/legacy integration?" If the portfolio is Laravel-only, this is a no-go on compatibility alone — the PM decision is to route the requirement to Laravel-native tooling instead.
  • Build vs. buy for HTTP audit logging: The core capability — capturing inbound request and outbound response payloads through Monolog — is genuinely a 1–2 day build in any framework (a middleware/event subscriber plus a Monolog channel). With 18 stars, 0 dependents, and a low overall score, the "buy" case is weak; the package mostly serves as a reference design for how to structure the log channel, context enrichment, and handler wiring.
  • Roadmap input for observability/compliance: If a requirement surfaces for audit trails, support-escalation replay, or "what did the API actually return to the customer," this names the pattern to fund — request/response logging with structured context — without committing to the dependency.
  • Risk register / dependency governance: A reasonable case study for a maintainability threshold. Zero dependents plus a single-vendor origin (BedrockStreaming/M6Web) means the PM decision is vendor-a-different-solution or fork, not adopt.
  • Use-case triage: Legitimate fits only in low-volume, internal, or debugging-oriented Symfony services where response-body logging is acceptable — not in high-throughput or PII-sensitive paths without redaction work.

When to Consider This Package

Consider it when all of the following hold:

  • The service is Symfony (not Laravel) and already standardized on Monolog.
  • You need request/response visibility for debugging or internal audit, not customer-facing compliance attestation.
  • Traffic is modest enough that logging full response bodies won't blow up storage cost or latency budgets.
  • You're comfortable treating it as vendored/forkable code rather than a supported dependency — 18 stars, 0 dependents, and a low opportunity score mean the maintenance burden lands on you.
  • PII exposure is already handled upstream, or you can add scrubbing before the handler.

Look elsewhere when:

  • You're on Laravel. Use terminable middleware, spatie/laravel-activitylog, or Laravel Telescope/Pulse. Don't bridge frameworks for this.
  • You need sampling, redaction, or payload size limits — this package's scope is thin, and you'd be rebuilding those features anyway.
  • You require a maintained, security-reviewed dependency. No dependents is a signal, not a guarantee, but combined with a small star count it argues for in-house code you control.
  • Volume or latency matters. Synchronous body logging on hot paths is a performance and cost decision that deserves a purpose-built pipeline (async handler, structured events).
  • You need a vendor SLA or support contract. Not available here.

How to Pitch It (Stakeholders)

To executives: This is a small, single-purpose Symfony utility for capturing HTTP request/response pairs in application logs. It is not a strategic dependency — adoption is near zero (18 stars, no downstream dependents) and its overall evaluation score is low. Recommendation: do not adopt as a dependency. Treat it as a design reference for a capability we can build in-house in days, giving us the audit-logging outcome without adding an unmaintained third-party component to our supply chain. Note the stack mismatch up front: it is Symfony-only and does not serve our Laravel services.

To engineering: The capability is worth having; the package is not the vehicle. Two paths: (1) if we have Symfony services needing quick diagnostic request/response logging, cherry-pick or fork the bundle's handler/channel wiring, budget a day, and own the code; (2) for Laravel, implement equivalent middleware with a dedicated log channel, plus the things this package lacks — sampling, field-level redaction, payload truncation, and async writes. Either way, decide explicitly on PII handling before any response body is persisted, and set a latency/storage budget so logging doesn't quietly become a cost center.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log