File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ Latest Stable Version] ( https://poser.pugx.org/barryvdh/laravel-debugbar/version.png )] ( https://packagist.org/packages/barryvdh/laravel-debugbar )
4
4
[ ![ Total Downloads] ( https://poser.pugx.org/barryvdh/laravel-debugbar/d/total.png )] ( https://packagist.org/packages/barryvdh/laravel-debugbar )
5
5
6
+ ### Note for v3: Debugbar is now enabled by requiring the package, but still needs APP_DEBUG=true by default!
7
+
6
8
### For Laravel < 5.5, please use the [ 2.4 branch] ( https://github.com/barryvdh/laravel-debugbar/tree/2.4 ) !
7
9
8
10
This is a package to integrate [ PHP Debug Bar] ( http://phpdebugbar.com/ ) with Laravel 5.
@@ -42,20 +44,19 @@ It also provides a Facade interface for easy logging Messages, Exceptions and Ti
42
44
43
45
## Installation
44
46
45
- Require this package with composer:
47
+ Require this package with composer. It is recommended to only require the package for development.
46
48
47
49
``` shell
48
- composer require barryvdh/laravel-debugbar
50
+ composer require barryvdh/laravel-debugbar --dev
49
51
```
50
52
51
53
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
52
54
53
55
The Debugbar will be enabled when ` APP_DEBUG ` is ` true ` .
54
56
55
-
56
57
> If you use a catch-all/fallback route, make sure you load the Debugbar ServiceProvider before your own App ServiceProviders.
57
58
58
- ### Laravel 5:
59
+ ### Laravel 5.5+ :
59
60
60
61
If you don't use auto-discovery, add the ServiceProvider to the providers array in config/app.php
61
62
You can’t perform that action at this time.
0 commit comments