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

fishtail/laravel-log-viewer

Simple Laravel/Lumen log viewer for Laravel 5–8 (compatible with 4.2). Install via Composer, register the service provider, and add a route to LogViewerController@index. No published assets or vendor routes; works with rotated logs.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging & Observability: Accelerates incident response by providing a self-service UI for developers/ops to inspect logs without manual file parsing or CLI access.
  • Cost Efficiency: Avoids licensing fees for enterprise log management tools (e.g., Datadog, Splunk) for smaller-scale Laravel applications.
  • Developer Experience: Reduces context-switching by embedding log inspection directly in the Laravel ecosystem (no external tools).
  • Compliance & Auditing: Enables quick log review for security audits or GDPR requests without exposing raw log files publicly.
  • Roadmap Prioritization: Justifies investment in observability tools if logs are a bottleneck in debugging workflows (e.g., high-severity bugs, performance issues).
  • Build vs. Buy: Favors "buy" for lightweight log viewing needs; consider custom solutions only if advanced features (e.g., log aggregation, retention policies) are critical.

When to Consider This Package

  • Adopt if:

    • Your Laravel app uses Monolog for logging (default in Laravel).
    • You need a quick, low-overhead way to view logs without CLI access.
    • Your team lacks dedicated DevOps tools for log management.
    • Logs are stored in default Laravel locations (no custom paths).
    • You’re comfortable with basic UI-only log viewing (no filtering, retention, or alerting).
  • Look elsewhere if:

    • You require log aggregation (e.g., centralized logging across microservices).
    • Need advanced filtering (e.g., by timestamp, severity, or custom fields).
    • Logs are rotated or archived in non-standard ways (package may not handle paths dynamically).
    • Compliance demands log retention policies or access controls (this is a read-only UI).
    • Your team uses Laravel 9+ (package supports up to v8; check for forks or alternatives).
    • You need real-time log streaming or alerting (e.g., Slack notifications for errors).

How to Pitch It (Stakeholders)

For Executives: "This package adds a lightweight, self-service log viewer to our Laravel stack—like a ‘tail -f’ for the browser. For $0 cost, it lets devs/ops quickly inspect logs during incidents, reducing mean-time-to-resolution (MTTR) without needing external tools. Ideal for small-to-medium apps where observability isn’t a core feature but debugging efficiency is. Risk is low: it’s MIT-licensed, open-source, and integrates seamlessly with our existing Laravel setup."

For Engineering: *"This is a drop-in log viewer for Laravel that:

  • Saves time: No more grep/tail in terminals—just open /logs in the browser.
  • Works out-of-the-box: Zero config for default Laravel log paths; minimal setup for custom paths.
  • Lightweight: No bloat—just a controller and Blade views (no public assets or vendor routes).
  • Future-proof: Supports Lumen and Laravel 4–8 (though we’d need to test v9+ separately). Tradeoff: Basic UI only (no filtering/alerts), but we can extend it later if needed. Let’s prototype it for our next high-severity bug to validate the impact."*

For Developers: *"Imagine tail -f but in your browser—this package gives you a clean UI to scroll through Laravel logs. To use it:

  1. Install via Composer: composer require rap2hpoutre/laravel-log-viewer.
  2. Add a route: Route::get('/logs', 'LogViewerController@index').
  3. Done. No assets, no fuss. Perfect for debugging on staging/prod when you don’t have SSH. Caveat: Only shows logs in default locations (e.g., storage/logs/laravel.log). If you’ve customized paths, you’ll need to tweak the config."*
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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
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