You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,8 @@ Require this package with composer:
45
45
composer require barryvdh/laravel-debugbar
46
46
```
47
47
48
-
After updating composer, add the ServiceProvider to the providers array in app/config/app.php
49
-
> Note for Laravel 5: If you use a catch-all/fallback route, make sure you load the Debugbar ServiceProvider before your own App ServiceProviders.
48
+
After updating composer, add the ServiceProvider to the providers array in config/app.php
49
+
> If you use a catch-all/fallback route, make sure you load the Debugbar ServiceProvider before your own App ServiceProviders.
50
50
51
51
```
52
52
'Barryvdh\Debugbar\ServiceProvider',
@@ -58,12 +58,14 @@ If you want to use the facade to log messages, add this to your facades in app.p
58
58
'Debugbar' => 'Barryvdh\Debugbar\Facade',
59
59
```
60
60
61
-
The profiler is enabled by default, if you have app.debug=true. You can override that in the config (`debugbar.enabled`). See more options in `config/config.php`
61
+
The profiler is enabled by default, if you have app.debug=true. You can override that in the config (`debugbar.enabled`). See more options in `config/debugbar.php`
62
62
You can also set in your config if you want to include/exclude the vendor files also (FontAwesome, Highlight.js and jQuery). If you already use them in your site, set it to false.
63
63
You can also only display the js of css vendors, by setting it to 'js' or 'css'. (Highlight.js requires both css + js, so set to `true` for syntax highlighting)
64
64
65
+
Copy the package config to your local config with the publish command:
You can also disable/enable the loggers you want. You can also use the IoC container to add extra loggers. (`$app['debugbar']->addCollector(new MyDataCollector)`)
0 commit comments