Provides database queries profiling for Laravel http and console applications.
Laravel | Database Profiler |
---|---|
5.1.* | 5.1.* |
5.2.* | 5.2.* |
5.3.* | 5.3.* |
5.4.* | 5.4.* |
5.5.* | 5.5.* |
5.6.* | 5.6.* |
Enabled only for local
environment, you don't need to bother about production
.
If you wish to enable profiling on other environments, use
db-profiler.force
config variable.
-
Install package through
composer
:composer require illuminated/db-profiler
-
That's it! Use
vvv
request parameter or-vvv
cli option to enable profiling.
Use vvv
request parameter for http profiling:
Use -vvv
option for console profiling: