fruitcake/laravel-debugbar
Integrate PHP DebugBar into Laravel with minimal setup to inspect requests, queries, views, routes, and logs in a handy toolbar. Includes collectors, timing, memory, and profiling tools to quickly find bottlenecks during development.
Pros:
feat: add editor links to SQL query backtrace entries) improves developer workflow by providing direct IDE navigation to query backtraces, reducing context-switching between debug bar and codebase. Aligns with modern IDE integrations (e.g., PHPStorm/VSCode).lodash 4.17.23 → 4.18.1) is non-breaking and unlikely to impact core functionality. Follows best practices for maintenance.README (PR #2022) reduces friction for new adopters, though this doesn’t affect runtime behavior.Cons:
lodash is a frontend dependency in a PHP package. Unlikely to cause issues, but adds minor bloat if unused (e.g., in CLI-only setups).remote_sites_path must map correctly in Docker/Homestead). May not work in headless CI/CD environments.Queries collector. No additional setup beyond enabling the collector.remote_sites_path is misconfigured (e.g., Docker volume mounts).lodash update adds ~40KB to the package (minified). Negligible for web apps but redundant for CLI-only setups.composer.json to exclude unused dependencies if needed.remote_sites_path is not tenant-aware.\\server\path).remote_sites_path be managed across environments (e.g., Docker, Homestead, production)? Are there tools to validate paths dynamically?lodash a critical dependency, or can it be excluded if unused? (Use composer explain to audit.)README or team wiki highlight the new feature and its IDE requirements?Queries collector. No changes to middleware or service provider.remote_sites_path configuration (e.g., DEBUGBAR_REMOTE_SITES_PATH=/var/www in Docker).composer.json for bloat.remote_sites_path setup (e.g., Docker examples).Queries collector in a non-production environment.remote_sites_path is correctly configured.DEBUGBAR_REMOTE_SITES_PATH to .env for all environments (e.g., Docker, Homestead).DEBUGBAR_REMOTE_SITES_PATH=/var/www/html
~/Code/project).composer explain fruitcake/laravel-debugbar to confirm lodash is only used for SQL backtraces. Exclude if unused.lodash update is frontend-only; PHP version requirements unchanged.Queries collector and IDE integration.Queries collector and test SQL backtrace links.remote_sites_path for local IDE access.remote_sites_path cannot be secured (e.g., shared hosting).debugbar.enabled = false in production.if (app()->environment('local') || auth()->check())).remote_sites_path management across environments.debugbar:validate-paths Artisan command).How can I help you explore Laravel packages today?