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

Logger Extra Bundle Laravel Package

silpion/logger-extra-bundle

Symfony bundle that extends Monolog logging with practical extras: additional processors and configuration to enrich log records with useful context, simplify setup, and make application logs easier to inspect and route. Integrates via standard Symfony service configuration.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit

  • Poor. silpion/logger-extra-bundle is a Symfony2 bundle, not a Laravel package. It expects Symfony's DependencyInjection container, bundle registration in AppKernel, configuration tree semantics, and likely Symfony event dispatcher integration. Laravel has no bundle system, no AppKernel, and a different service container lifecycle.
  • Laravel and Symfony share Monolog as the underlying logging library, so any Monolog handlers, processors, or formatters inside the bundle are the only realistically reusable pieces. The bundle wiring itself is not portable.
  • The package is effectively a thin Symfony integration layer around logging functionality. In a Laravel context, the valuable artifact is the underlying logging behavior, not the package.

Integration feasibility

  • Low as a direct Composer dependency. Installing it in a Laravel application would pull Symfony2-era components and likely conflict with Laravel's modern Symfony dependencies (symfony/http-foundation, symfony/console, symfony/process, etc.).
  • Feasible only as a source-reference port: inspect the bundle's services, event subscribers, Monolog handlers/processors, and configuration, then reimplement equivalent behavior using Laravel's logging channels, middleware, and Monolog processors.
  • Expected effort is small if the bundle only adds a processor or formatter; moderate if it implements request/response lifecycle logging, exception enrichment, or custom handlers tied to Symfony events.

Technical risk

  • High. Last release was 2014-10-02, targeting PHP 5.x and Symfony 2.x. It is abandoned, with 4 stars and 0 dependents. No modern PHP 8.x, Laravel 10/11/12, or Monolog 2/3 compatibility should be assumed.
  • Unmaintained code creates security and reliability exposure: no patches, no PHP compatibility updates, and no upstream support.
  • Old Symfony DI configuration and Monolog 1.x APIs are likely incompatible with current Monolog. Fatal errors, silent log loss, or container compilation failures are plausible.
  • License is MIT, so source reuse and porting are legally straightforward, which lowers the risk of the only viable integration path.

Key questions

  • What exact logging functionality does the bundle provide: request/response logging, exception context, correlation IDs, GELF/Logstash formatting, or custom handlers?
  • Are the reusable components pure Monolog classes with no Symfony dependencies, or are they tightly coupled to Symfony events and DI?
  • Which Symfony and Monolog major versions does the bundle require, and do those constraints conflict with the target Laravel version?
  • Is there any test coverage or documented behavior that can validate a port?
  • Does the team need the functionality at all, or does Laravel's native logging stack plus first-party packages already cover it?

Integration Approach

Stack fit

  • Laravel's logging stack is Monolog-based and PSR-3-compatible, configured through config/logging.php with channels, handlers, formatters, and processors. A Symfony2 bundle does not fit this model.
  • The correct integration target is Laravel's Log facade, custom Monolog processors, middleware for request context, and channel configuration. Any port should avoid introducing Symfony bundle conventions.
  • If the bundle relies on Symfony's EventDispatcher, map those events to Laravel middleware or framework events such as RequestHandled, MessageLogged, or custom middleware.

Migration path

  • Do not adopt the package as a runtime dependency. Treat it as a reference implementation.
  • Step 1: audit the bundle's source for handlers, processors, formatters, and event subscribers. Classify each as portable Monolog code, Symfony-coupled code, or obsolete.
  • Step 2: identify the behavioral outcome the team needs and map it to native Laravel constructs: middleware for request context, Monolog processors for enrichment, custom channels for output routing.
  • Step 3: reimplement the minimal behavior in application code or a small internal package, with tests.
  • Step 4: remove any temporary dependency and verify log output parity in staging.

Compatibility

  • Assume incompatibility with current Laravel and PHP until proven otherwise. Symfony2 bundles target PHP 5.3–5.6 era runtime and Symfony 2.x APIs.
  • Monolog API drift between 1.x and 2.x/3.x is a major compatibility concern; handler and processor signatures changed.
  • Laravel's package discovery and service provider model does not load Symfony bundles, so no automatic registration path exists.
  • MIT license permits copying and adapting source, but attribution requirements should be handled.

Sequencing

  1. Feature inventory and source audit.
  2. Compatibility spike against the target Laravel and PHP versions.
  3. Decide build-versus-buy: port, reimplement natively, or use a maintained Laravel package.
  4. Implement the smallest viable equivalent behind Laravel's logging configuration.
  5. Add tests for log enrichment, routing, and failure behavior.
  6. Decommission the reference dependency and document the replacement.

Operational Impact

Maintenance

  • High if adopted directly. An abandoned 2014 Symfony2 bundle will accumulate incompatibilities with every PHP, Laravel, Symfony, and Monolog upgrade.
  • Ported code becomes the team's responsibility. The ported surface should be kept small and covered by tests to control long-term maintenance.
  • Native Laravel implementation has materially lower maintenance because it aligns with framework upgrade paths.

Support

  • No vendor or community support. Four stars and zero dependents mean no meaningful ecosystem, no issue triage, and no security response.
  • Internal ownership is required for any ported behavior, including documentation of the original bundle's intent.
  • Reliance on the original repository for fixes is not viable.

Scaling

  • Logging processors and formatters are generally stateless and scale horizontally with the application. The integration approach itself does not introduce scaling constraints.
  • Risk concentrates in any synchronous custom handlers: remote logging endpoints, blocking I/O, or unbounded context enrichment can add request latency under load.
  • Laravel channel configuration should preserve async or buffered handling where appropriate; the Symfony2 bundle's handler choices may not reflect modern practices.

Failure modes

  • Composer dependency conflicts with Laravel's Symfony components during install or update.
  • Fatal errors from PHP 8 incompatibility or removed Symfony2 APIs.
  • Silent log loss if a ported handler misbehaves or a processor throws inside the logging pipeline.
  • Request latency or timeouts if a legacy handler performs synchronous network calls.
  • Configuration drift where bundle-specific settings have no Laravel equivalent, causing partial functionality.
  • Security exposure from unpatched legacy code if the package is retained.

Ramp-up

  • Low code volume but high archaeological overhead. Engineers must understand Symfony2 bundle conventions, old Monolog APIs, and the original intent before porting.
  • A focused spike of a few days should be sufficient to determine whether the bundle contains reusable logic or only obsolete wiring.
  • Given the low score, zero dependents, and 2014 release date, the recommended position is to avoid direct integration and selectively reimplement any valuable logging behavior natively in Laravel.
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager