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 Debugbar Laravel Package

fruitcake/laravel-debugbar

Integrate PHP Debug Bar into Laravel to inspect requests in real time. Shows executed queries, routes, views, logs, cache/events, and timing/memory metrics with an in-browser toolbar and detailed panels. Great for profiling and debugging during development.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Developer Productivity: Accelerates debugging cycles by providing real-time insights into SQL queries, HTTP requests, exceptions, and performance metrics, reducing time-to-resolution for issues.
  • Build vs. Buy: Eliminates the need to build custom debugging tools or rely on third-party SaaS solutions (e.g., New Relic, Sentry) for local development, saving engineering time and costs.
  • Observability Roadmap: Serves as a foundation for a broader observability strategy by integrating with Laravel’s ecosystem (e.g., Telescope, Horizon) and enabling custom collectors for domain-specific metrics.
  • Use Cases:
    • Local Development: Essential for backend engineers to debug queries, routes, and business logic without deploying to staging.
    • Onboarding: Reduces ramp-up time for new developers by providing a unified interface for inspecting application state.
    • Performance Optimization: Identifies bottlenecks (e.g., slow queries, N+1 problems) via built-in collectors for queries, cache, and timings.
    • API Debugging: Captures AJAX/XHR requests and history, critical for frontend-backend integration testing.

When to Consider This Package

  • Adopt When:

    • Your team uses Laravel and prioritizes local debugging efficiency.
    • You need low-overhead, self-hosted observability (vs. SaaS tools) for development environments.
    • Your roadmap includes custom metrics (e.g., tracking job processing, business logic) via collectors.
    • You require IDE integration (e.g., PHPStorm, VSCode) for direct navigation to files/routes from debug output.
    • Your stack includes Twig or console commands that need debugging support.
  • Look Elsewhere If:

    • You need production-grade monitoring (use Laravel Telescope + Sentry instead).
    • Your team uses non-Laravel frameworks (e.g., Symfony, Django).
    • You require advanced APM features (e.g., flame graphs, distributed tracing) → consider Blackfire or New Relic.
    • Security is a concern in shared environments (Debugbar leaks request data; restrict to localhost only).
    • You’re on Lumen (unsupported) or Laravel Octane with custom configurations (though Octane support exists).

How to Pitch It (Stakeholders)

For Executives:

"Laravel Debugbar is a force multiplier for our backend team, cutting debugging time by 30–50% during development. It’s like having a real-time X-ray for our Laravel apps—no SaaS costs, no data leaving our infrastructure. For $0 in tooling, we gain visibility into queries, API calls, and performance bottlenecks, which directly impacts feature velocity and stability. It’s already used by [Team X] to ship [Feature Y] faster, and it integrates seamlessly with our existing stack (Telescope, Horizon). The only caveat is it’s development-only—we’d restrict it to local environments to avoid any risk."

For Engineering:

*"This is the Swiss Army knife for Laravel debugging. Here’s why we should adopt it:

  • Unified Debugging: Replaces dd(), Log::debug(), and manual query logging with a single UI.
  • Customizable: Add your own collectors for domain-specific metrics (e.g., tracking User model events).
  • Zero Config for 80% Use Cases: Just set APP_DEBUG=true and go. Need more? Publish the config in 2 minutes.
  • IDE Love: Click on a query or route to jump straight to the file in PHPStorm/VSCode.
  • Lightweight: ~100KB overhead (only in dev), no impact on production.

Trade-offs:

  • Not for production (use Telescope/Sentry there).
  • Requires discipline to disable in shared environments (e.g., CI, staging).

Next Steps:

  1. Install via composer require fruitcake/laravel-debugbar --dev.
  2. Enable in .env (APP_DEBUG=true).
  3. Start using debug(), Debugbar::info(), and collectors in PRDs.

ROI: Faster onboarding, fewer dd()-induced outages, and happier devs."*

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.
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
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