Provides database queries profiling for Laravel http and console applications.
PHP >=5.5.9
Laravel >=5.1
-
Install package through
composer
:composer require illuminated/db-profiler
-
Add
DbProfilerServiceProvider
intoconfig/app.php
:'providers' => [ // ... Illuminated\Database\DbProfilerServiceProvider::class, ],
-
That's it! Enabled only for
local
environment, you don't need to bother aboutproduction
.
Use vvv
request parameter for http profiling:
Use -vvv
option for console profiling: