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

Log Viewer Laravel Package

opcodesio/log-viewer

A fast, beautiful Laravel log viewer for browsing and managing logs in storage/logs and beyond. Search and filter entries by level, share links, download/delete files, preview logged mails, support multiple hosts, dark mode, mobile UI, and API access.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Observability & Debugging Roadmap: Accelerate the development of a self-service debugging tool for engineers, reducing reliance on manual log parsing and third-party tools (e.g., Datadog, Sentry). Integrates seamlessly with Laravel’s existing logging infrastructure.
  • Build vs. Buy: Buy—avoids reinventing a log viewer from scratch while providing extensibility for custom log formats (e.g., proprietary services, legacy systems).
  • Feature Prioritization:
    • High: Replace CLI-based log searches (grep, tail) with a UI-driven solution for non-engineers (e.g., QA, support teams).
    • Medium: Enable sharable log links for cross-team collaboration (e.g., handing off bugs to backend teams).
    • Low: Explore API access for programmatic log analysis (e.g., automated alerts, data pipelines).
  • Use Cases:
    • Incident Response: Filter logs by severity (e.g., ERROR) during outages.
    • Onboarding: Provide new engineers with a pre-configured log dashboard (e.g., /log-viewer).
    • Compliance: Archive and download logs for audits (e.g., GDPR, SOC 2).
    • Multi-Environment Support: View logs from staging/production side-by-side (via multiple host support).

When to Consider This Package

Adopt If:

  • Your Laravel app generates high-volume logs (e.g., >10K entries/day) that require real-time filtering/search.
  • You need a zero-configuration solution for Laravel’s default logs (no custom parsers needed).
  • Your team lacks dedicated DevOps/SRE resources to maintain a custom log aggregation tool.
  • You require mobile-friendly access to logs (e.g., for on-call engineers).
  • Your stack includes Horizon, Nginx/Apache, or Redis logs (native support reduces setup time).

Look Elsewhere If:

  • You need structured log analysis (e.g., ELK Stack, Splunk) for long-term retention or advanced querying (e.g., SQL-like queries).
  • Your logs use a proprietary format with no built-in parser (requires custom development).
  • You’re on Laravel <8.0 (unsupported).
  • You need log enrichment (e.g., adding metadata like user IDs, request IDs) before viewing.
  • Your team prefers CLI tools (e.g., laravel-logger, stern) for speed or scripting.
  • You require log shipping to a central system (e.g., Loki, Datadog) for cross-service correlation.

How to Pitch It (Stakeholders)

For Executives:

"Log Viewer eliminates the friction of debugging Laravel apps by replacing manual log parsing with a searchable, filterable UI—saving engineers hours per week during incidents. For $0 cost, it reduces dependency on third-party tools (e.g., Sentry, Datadog) for basic log needs, while its API access opens doors for future automation. The mobile-friendly design ensures on-call teams can triage issues from anywhere. Let’s pilot it in staging to measure time savings before rolling out to production."

Key Metrics to Track Post-Adoption:

  • Reduction in MTTR (Mean Time to Resolve) for critical bugs.
  • Decrease in support tickets from QA/non-engineers stuck in logs.
  • Engineer satisfaction surveys on tool usability.

For Engineering Teams:

*"This is a drop-in replacement for tail -f storage/logs/laravel.log—but with superpowers:

  • Instant search/filter by log level, keywords, or time range.
  • Visual stack traces for Laravel exceptions (no more copying/pasting to IDE).
  • Dark mode + mobile support for late-night debugging.
  • API access to build custom dashboards or alerts.

Why not build it?

  • 3 weeks of dev time vs. 1-hour Composer install.
  • Actively maintained (Laravel 13 support, security patches).
  • Extensible for custom log formats (e.g., add your own parser in 10 lines).

Proposal:

  1. Install in staging this sprint (composer require opcodesio/log-viewer).
  2. Test with the Horizon/Redis logs—our biggest pain point.
  3. If it saves >5 hours/month, we’ll roll it out to prod."*

Engineering Considerations:

  • Performance: Handles 100K+ log entries efficiently (indexed reader).
  • Security: MIT-licensed, no external dependencies (self-hosted).
  • Customization: Override default paths (e.g., /var/log/custom.log) via config.
  • CI/CD: Zero impact—just a new route (/log-viewer).
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport