LaravelDebugbar is a bug debugging plug-in. Let's take a look at this. The debugging example of LaravelDebugbar is as follows. Laravel Debugbar is a bug debugging plug-in. Let's take a look at this. The debugging example of Laravel Debugbar is as follows.
Script ec (2); script
Aravel Debugbar is a powerful tool for debugging Laravel and has a very beautiful Debug Bar.
How to Use Laravel Debugbar (github ):
1. Use compser to introduce package
Composer require barryvdh/laravel-debugbar
2. Add in providers of config/app. php
'Barryvdh \ Debugbar \ ServiceProvider ',
Check what information Laravel Debugbar collects:
QueryCollector are you still using DB: getQueryLog () to print SQL statements? QueryCollector collects the execution SQL and time of all databases
RouteCollector: displays the current route information
ViewCollector: The render template is displayed.
EventsCollector: all events
Memory usage of MemoryCollector;
TimeDataCollector request time and TimeLine;
ExceptionsCollector exception information
PHP file loaded by FilesCollector
ConfigCollector load configuration file value
All LogCollector log information