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

View Logs Laravel Package

hasibkamal/view-logs

View your Laravel application logs in the browser with a simple /logs route. Install via Composer, register the service provider, optionally publish the views, and browse log files from your app without digging through storage manually.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Debugging & Observability: Enables logging and tracking of view rendering (e.g., Blade templates) in Laravel applications, improving debugging for frontend issues without manual instrumentation.
  • Performance Optimization: Identifies slow-rendering views, helping prioritize template optimizations (e.g., caching, refactoring).
  • Developer Tooling: Reduces reliance on external tools (e.g., Chrome DevTools) for view-level diagnostics, streamlining workflows for backend teams.
  • Roadmap for "Internal Analytics": Could extend to track user-specific view usage (e.g., A/B testing, feature adoption) with minimal additional effort.
  • Build vs. Buy: Avoids reinventing logging infrastructure; leverages a lightweight, focused package instead of custom solutions.

When to Consider This Package

  • Adopt if:

    • Your Laravel app relies heavily on Blade templates and you lack visibility into view rendering performance/errors.
    • Debugging frontend issues requires coordination between backend and frontend teams (e.g., misaligned data or template logic).
    • You prioritize developer productivity and want to reduce context-switching for view-related bugs.
    • Your stack already uses Laravel/PHP, and you prefer native solutions over third-party tools.
  • Look elsewhere if:

    • You need full-page performance metrics (consider Laravel Telescope or Blackfire).
    • Your app uses non-Blade templating (e.g., React/Vue SSR) or minimal server-side rendering.
    • You require user-level view tracking (e.g., heatmaps) without additional setup (consider Hotjar or custom analytics).
    • Your team lacks PHP/Laravel expertise to integrate or maintain the package.

How to Pitch It (Stakeholders)

For Executives: "This package lets us log and analyze how our Laravel views render—think of it as ‘server-side DevTools’ for templates. It’ll help us catch slow or broken views faster, reducing debugging time and improving frontend performance without adding complexity. For example, we could identify a template taking 2 seconds to render and optimize it before users notice. It’s a low-effort way to close a gap in our observability stack."

For Engineering: *"View Logs is a lightweight Laravel package that logs Blade template rendering (time, errors, context). It’s useful for:

  • Debugging: See which views are slow or failing in production.
  • Onboarding: New devs can quickly understand template flow.
  • Performance: Spot templates that need caching or refactoring. It’s a one-line install (composer require vendor/view-logs), and logs integrate with Laravel’s default logging (e.g., Monolog). No breaking changes in 1.0.0—just a starting point for deeper view analytics later."*
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.
daikazu/eloquent-salesforce-objects
unseen-codes/chat
romalytar/yammi-jobs-monitoring-laravel
kisame76/filament-db-table-state
nqxcode/laravel-lucene-search
dpfx/laravel-livewire-wizards
workos/workos-php-laravel
sofa/laravel-global-scope
nawasara/auth-primitives
adhocrat-io/arkhe-main
make-dev/orca-harpoon
itsemon245/lamet
baks-dev/dashboard
amoifr/pickle-panther-bundle
make-dev/orca
dmstr/symfony-system-resources-bundle
dmstr/symfony-job-queue-bundle
dmstr/openapi-json-schema-bundle
dmstr/keycloak-security-bundle
dmstr/doctrine-audit-log-bundle