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

Monolog Browser Bundle Laravel Package

lexik/monolog-browser-bundle

Symfony bundle that provides a web interface for browsing, filtering, and searching Monolog logs. Inspect entries by channel, level, and date, view stack traces, and page through results without digging through raw log files.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for internal observability: This bundle is a pre-built answer to "let engineers read application logs from a browser without SSH-ing into a box." It packages two things: a Monolog handler that writes log records into a Doctrine DBAL (SQL) table, and a web UI to browse, filter, and inspect them. That is a concrete reference point for scoping an in-house log viewer versus buying a SaaS APM/log tool.
  • Feature prioritization on the observability backlog: Evaluating it forces the right questions — do we need persistent, queryable logs (DB-backed) or just tailing files? Do support/QA staff need a UI, or is docker logs enough? The bundle's scope (handler + viewer, no alerting, no retention policy, no auth model) helps define the minimum viable slice of a logging Epic.
  • Use-case fit for internal tooling: Reasonable only for small, low-traffic, internal admin surfaces — a back-office log console on an existing Symfony app where the database is already the source of truth and adding infrastructure (ELK, Loki, Datadog) is disproportionate.
  • Roadmap and technical-debt signal: Last release 2016-09-27, 59 stars, 0 dependents, and a low opportunity score (2.06) are all inputs to a "do not standardize on this" decision. It is useful evidence when arguing for a modern logging stack rather than reviving abandoned components.
  • Buy-vs-build reference architecture: The DBAL-handler pattern (log records as rows, indexed columns for channel/level/time) is a cheap, defensible design to cite when engineering proposes something heavier than the problem warrants.
  • Framework-mismatch gate: The package is a Symfony2 bundle, not a Laravel package. For a Laravel roadmap it is at best a design reference; any decision to "use it" is really a decision to rebuild the pattern with Laravel-native tooling.

When to Consider This Package

Consider it only if all of the following hold:

  • You maintain a legacy Symfony 2.x application (or a fork pinned to that era) where adding new infrastructure is impractical.
  • Logs must live in the same relational database you already operate, with no new services, agents, or SaaS contracts.
  • Consumers are internal engineers or support staff, not customers, and volume is modest enough that a log table will not become a performance or cost problem.
  • You accept a time-boxed evaluation and are prepared to vendor/fork the code, since upstream is effectively dormant.

Look elsewhere if any of these are true:

  • You are on Laravel. This bundle will not install or run as-is; its controllers, DI configuration, and routing are Symfony-specific. Use Laravel Telescope for development and a maintained log-viewer package (e.g., opcodesio/log-viewer) or a managed service for shared environments.
  • You are on Symfony 4/5/6/7. Use the modern MonologBundle plus a maintained viewer; the Symfony Profiler already covers much of the dev-time need.
  • You need retention policies, PII redaction, access control, alerting, or audit-grade durability. None of that is in scope here, and bolting it on erases the "cheap" argument.
  • Your dependency policy forbids unmaintained packages (no release since 2016, no security patch path). This is the common disqualifier.
  • Log volume is high or write latency is on a hot path. Synchronous DB writes per log record will couple application throughput to database health.
  • You need vendor support or an SLA.

How to Pitch It (Stakeholders)

Executive summary: lexik/monolog-browser-bundle is a small, MIT-licensed, Symfony 2 add-on that stores application logs in the existing SQL database and provides a browser UI to search them. It solves a real but narrow problem — giving engineers visibility into production logs without new infrastructure — at essentially zero license cost.

The caveat is decisive: the project is unmaintained (last release September 2016), has negligible adoption (59 stars, zero dependents), and is not compatible with Laravel. It is not a candidate for standardization, and adopting it introduces a dependency we would have to own, patch, and eventually replace.

Recommendation: treat it as a design reference, not a dependency. The pattern — persist structured logs to a table, expose a filtered read-only viewer — is sound and cheap; we should implement it with framework-native, maintained tooling (Telescope plus a log viewer for Laravel; MonologBundle plus a modern viewer for Symfony), or buy a managed logging service if we need retention, alerting, or access control. Reserve a one-day spike only if a legacy Symfony 2 app genuinely needs an internal log console and no maintained alternative exists.

For engineering: the handler-plus-viewer split is a clean separation worth copying; the DB-write-per-record design is the part to scrutinize under load, and any rebuild should add retention, redaction, and authorization from day one.

Ask: no budget required. Decision needed is whether to close the "legacy log console" request as won't build on this package and route it to the platform team's observability roadmap.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core