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
Symfony Log Viewer Bundle

Symfony Log Viewer Bundle Laravel Package

kira0269/symfony-log-viewer-bundle

Symfony Log Viewer Bundle adds a web interface for browsing, searching, and filtering application log files directly from your Symfony project. Inspect recent errors, stack traces, and log levels without shell access, making debugging faster for developers and teams.

View on GitHub
Deep Wiki
Context7

Log viewer for Symfony 5 app

Frequently asked questions about Symfony Log Viewer Bundle
Can I use kira0269/symfony-log-viewer-bundle in a Laravel application?
No, not directly. It is a Symfony bundle built on Bundle subclasses, a DI extension, a Configuration tree, and Twig templates, and Laravel's service provider and Blade model has no bridge to any of that. There is no published Laravel adapter, so installing it pulls Symfony 5 components and Twig into your vendor directory instead of integrating with Laravel.
Is there a Laravel-native alternative to this Symfony log viewer?
Yes. opcodesio/log-viewer is the current de facto standard for Laravel and is actively maintained, while rap2hpoutre/laravel-log-viewer is the older minimal option. Both install with Composer and read storage/logs/laravel.log without extra framework baggage. For almost every Laravel team, adopting one of these beats porting this bundle.
What does this package actually do?
It is a Symfony bundle that adds a web interface for browsing and inspecting Monolog log files in the browser instead of tailing them over SSH. It hooks into Symfony's existing Monolog configuration and renders entries in a structured, readable format so you can inspect recent errors, log levels, and stack traces. Setup is minimal, but the target platform is Symfony 5, not Laravel.
How do I install it, and does composer require work inside a Laravel project?
On Symfony you would run composer require kira0269/symfony-log-viewer-bundle, register the bundle in config/bundles.php, and let it pick up your Monolog configuration before visiting its route. Laravel has no bundles.php and no bundle registration step, so that install path simply does not exist. In a Laravel app you would pull in a parallel framework's transitive dependencies and the bundle still would not boot.
Which Symfony versions does it support, and is it still maintained?
It targets Symfony 5, and its last release was 2021-08-08 with a single maintainer, zero stars, and zero dependents. Symfony 5.4 LTS exited security support in November 2025, so the bundle now sits on an end-of-life framework line with no published upgrade path. Assume no responsiveness on issues or security reports.
How would I add a log viewer to Laravel without this package?
Port the idea, not the code: one route, one controller, one Blade view, and one parser service, gated behind App::environment('local') or an authorization gate. Realistic effort is two to four engineer-days, and you end up with something that actually fits Laravel's service provider and Blade model. Most teams should just install opcodesio/log-viewer instead of building or porting anything.
Is it safe to expose a web log viewer in production?
Treat it as a serious security surface. Log lines often contain attacker-controlled text from User-Agent strings, request paths, and exception messages, which becomes stored XSS if the template does not escape properly, and Laravel logs routinely hold API tokens, session identifiers, and PII from failed requests. There is also path traversal risk if the file selector accepts user input. Keep any viewer local-only or behind a real authorization gate.
Does the bundle ship authentication or access control?
No. It assumes the host application's Symfony firewall and routing configuration protect the viewer route. Laravel has no Symfony firewalls, so running it or a port of it means adding your own middleware, gate, and environment check. Never mount it on a public route.
Can its parser read Laravel's storage/logs/laravel.log format?
Partly. Laravel writes through Monolog using the same LineFormatter lineage as Symfony, so a Symfony-oriented parser is roughly seventy percent reusable as source material. However, Laravel's default line format omits or reorders Symfony-specific context such as channel and environment metadata, so the parser would need real adjustments. Also check whether it streams or slurps, since production logs can rotate at 100 MB.
What should I check before spending engineering time on a log viewer?
First decide whether the pain is developer-time tailing or production observability. Tailing is already solved by opcodesio/log-viewer locally, tail -f, Telescope, or Ray, while production observability is solved by centralized logging such as Sentry, Datadog, or Grafana Loki, where a web file viewer is the wrong answer. Then make an explicit build-versus-buy call rather than taking a dependency on an abandoned Symfony 5 bundle.
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.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
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