barryvdh/laravel-debugbar
Laravel Debugbar integrates PHP Debug Bar into Laravel, showing request timing, queries, routes, views, cache/events, and more. Easy install and configurable collectors with support for AJAX and profiling to help diagnose performance issues in development.
feat: add editor links to SQL query backtrace entries) improves developer experience by enabling direct IDE navigation to query files, aligning with modern debugging workflows (e.g., VS Code, PHPStorm). This complements Laravel’s existing tooling without architectural changes.Queries) without requiring custom code, reinforcing the package’s adaptability.lodash (v4.17.23 → v4.18.1) is unlikely to impact Laravel/PHP operations but may affect frontend assets if the package includes JavaScript (unlikely, as this is a PHP package). No risk confirmed.Queries collector by adding file/line links for raw SQL queries. Requires:
DEBUGBAR_REMOTE_SITES_PATH) for Docker/Homestead setups.lodash) is non-critical for PHP backend operations.debugbar.editor_links = true).lodash update is irrelevant to PHP backend operations, and editor links are additive.debugbar.editor_links be enabled by default in local environments?.env variables, config files)?Queries collector.debugbar.editor_links = true).lodash update is irrelevant to PHP backend (likely a frontend dependency in a hypothetical JS bundle; confirm if applicable).composer update barryvdh/laravel-debugbar --with-dependencies
php artisan vendor:publish --provider="Barryvdh\Debugbar\ServiceProvider" --tag="config"
config/debugbar.php:
'editor_links' => env('DEBUGBAR_EDITOR_LINKS', false),
'remote_sites_path' => [
'local.dev' => '/var/www/html',
],
settings.json):
"files.remoteRoot": "/var/www/html",
"telemetry.enableTelemetry": false
AppServiceProvider):
if (app()->environment('local')) {
debugbar()->enable();
config(['debugbar.editor_links' => true]);
}
lodash update is irrelevant to PHP backend.DEBUGBAR_REMOTE_SITES_PATH).debugbar.editor_links = false).remote_sites_path mappings may diverge across environments..env or a shared config file.bootstrap/app.php:
if (config('debugbar.editor_links') && empty(config('debugbar.remote_sites_path'))) {
throw new \RuntimeException('Debugbar editor links require remote_sites_path configuration.');
}
lodash: Irrelevant to PHP backend; ignore unless using a hypothetical JS bundle.debugbar.editor_links = true.debugbar.editor_links = false)..env settings for editor links.How can I help you explore Laravel packages today?