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 View Php Laravel Package

jingyue/log-view-php

Laravel log viewer based on rap2hpoutre/laravel-log-viewer, with added navigation for logs stored in nested folders. Browse, search, and inspect Laravel/Lumen log files in your browser by routing to the controller—no public assets required.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging & Observability: Accelerates incident response by providing a self-service log viewer for developers, reducing reliance on manual log file parsing (e.g., tail -f storage/logs/laravel.log).
  • Cost Efficiency: Avoids third-party SaaS logging tools (e.g., Datadog, Sentry) for low-complexity projects where native Laravel logs suffice.
  • Developer Experience (DX): Enables quick log navigation (especially nested folders) without leaving the browser, improving onboarding for junior engineers.
  • Compliance/Privacy: Keeps logs on-premise, aligning with strict data residency requirements (vs. cloud-based log aggregators).
  • Legacy System Integration: Useful for maintaining older Laravel 4.2–7.x apps where upgrading to modern observability stacks isn’t feasible.

Roadmap Considerations:

  • If building a developer portal, this could be a lightweight alternative to custom log dashboards.
  • For SRE teams, pair with monitoring tools (e.g., Laravel Horizon) to reduce alert noise.

When to Consider This Package

Adopt if:

  • Your team uses Laravel 4.2–7.x and needs a quick, no-frills log viewer (no auth, no retention policies).
  • You’re bootstrapping a project and want to avoid vendor lock-in with proprietary tools.
  • Logs are text-based (no structured JSON/ELK stack) and debugging is ad-hoc (not production-grade monitoring).
  • You lack budget for commercial log management but need basic log browsing for troubleshooting.

Look elsewhere if:

  • You need log retention, search/filtering, or alerting (consider Laravel Scout + custom solution or Papertrail).
  • Your app uses Lumen but requires authenticated access (this package has no built-in auth).
  • You’re on Laravel 8+ (may need compatibility fixes; fork or use Laravel Debugbar instead).
  • Logs are high-volume (this is a viewer, not a processor; risk of performance issues with large files).
  • You need structured logs (e.g., JSON) or visualization (consider Laravel Telescope for newer stacks).

How to Pitch It (Stakeholders)

For Executives: "This is a lightweight, open-source tool to let our dev team quickly browse Laravel logs directly in the browser—no extra SaaS costs, no setup complexity. It’s like ‘tail -f’ but for the web, and it’s free. Ideal for debugging issues without waiting for SREs or paying for third-party tools. We’d use it for low-risk projects or as a stopgap while we evaluate longer-term observability solutions."

For Engineering: *"This replaces manual grep/tail commands with a web UI for Laravel logs. Key benefits:

  • Zero setup: Install via Composer, add a route.
  • Nested folder support: Navigate log directories without CLI.
  • No bloat: No public assets or vendor routes (unlike Debugbar).
  • Lumen-compatible: Works in our microservices. Tradeoff: No auth or retention—best for internal use only. For production, we’d still need [X] (e.g., Papertrail, custom script)."*

For Developers: *"Imagine tail -f but in your browser—with folder navigation. Just:

  1. composer require jingyue/log-view-php
  2. Add \Jingyue\LogViewer\LogViewerController::class to your routes.
  3. Visit /logs (or your custom path). Pro tip: Bookmark it for your local/dev environments. For staging/prod, we’ll need something more robust."*
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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui