Weave Code
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

Laravel Log Viewer Laravel Package

rap2hpoutre/laravel-log-viewer

View Laravel and Lumen log files in the browser with a lightweight log viewer. Install via Composer, register the service provider, and add a single route to LogViewerController—no public assets or vendor routes. Works with rotated logs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging Efficiency: Eliminates manual log file parsing in development/staging, reducing mean time to resolution (MTTR) for errors by providing a browser-based, searchable log viewer. Directly supports DevOps and engineering teams in troubleshooting without SSH access.
  • Build vs. Buy: Avoids reinventing a log viewer wheel, saving 1–2 weeks of development time and ongoing maintenance. Ideal for teams prioritizing velocity over customization.
  • Security & Compliance: Enables controlled log access via middleware (e.g., auth, admin), aligning with internal security policies for staging/production environments.
  • Roadmap Flexibility: Supports Laravel 12/13 (and older versions via releases), ensuring compatibility with future Laravel upgrades without rework. Low-risk adoption due to MIT license and active community.
  • Observability for SMBs: Fills a gap for small-to-medium Laravel projects lacking enterprise-grade logging tools (e.g., ELK, Datadog) but needing basic log visibility.

When to Consider This Package

  • Adopt when:

    • Your team uses Laravel/Lumen and needs a quick, low-code solution for log access in non-production environments.
    • Logs are stored locally (not distributed across servers/containers), and you lack budget for dedicated logging infrastructure.
    • You prioritize speed of debugging over advanced features (e.g., log aggregation, alerts, or retention policies).
    • Security can be managed via middleware (e.g., restricting /logs to admins only).
    • Your logs follow Laravel’s default naming conventions (e.g., laravel.log, laravel-{date}.log).
  • Look elsewhere when:

    • You need production-grade log management (e.g., centralized storage, retention policies, or compliance with GDPR/HIPAA).
    • Logs are distributed across multiple servers (consider ELK Stack, Fluentd, or AWS CloudWatch).
    • You require log parsing, alerts, or dashboards (e.g., Sentry, LogRocket, or Datadog).
    • Your team lacks PHP/Laravel expertise to secure the route or troubleshoot permissions (e.g., file readability errors).
    • Logs are compressed or encrypted (this package does not support .gz or custom decryption).

How to Pitch It (Stakeholders)

For Executives/Business Stakeholders

"This open-source package gives our engineering team instant visibility into Laravel logs—no extra cost, no infrastructure. By adding a single route (/logs), developers can debug issues 10x faster in staging, reducing downtime and support tickets. It’s MIT-licensed, actively maintained, and integrates in minutes. For $0, we eliminate the need for custom tools or third-party services, freeing up budget for higher-priority projects."

Key Outcomes: ✅ Faster debugging → Fewer production incidents. ✅ Zero dev cost → No hiring or tooling expenses. ✅ Security-compliant → Access can be locked down via middleware. ✅ Future-proof → Works with Laravel’s latest versions.


For Engineering/DevOps Teams

"This package replaces manual tail -f storage/logs/laravel.log with a searchable, browser-based log viewer—just add a route and go. It handles Laravel’s daily log rotation automatically and lets you customize the UI or restrict access. Perfect for dev/staging environments where you need quick insights without setting up ELK or Datadog."

Why It’s a No-Brainer: 🔹 30-second setup: composer require, route, done. 🔹 No vendor lock-in: MIT license, no SaaS dependencies. 🔹 Extensible: Override the controller or Blade template for custom needs. 🔹 Troubleshooting built-in: Color-coded logs, search, and filtering save hours weekly.

Gotchas to Call Out: ⚠️ Not for production: Large logs (>100MB) will slow the page. ⚠️ Permissions matter: Ensure storage/logs/ is readable by the web server. ⚠️ No compressed logs: Avoid .gz log rotation if using this tool.

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.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai