Package Data | |
---|---|
Maintainer Username: | xabou |
Maintainer Contact: | bouzopoulos@gmail.com (xabou) |
Package Create Date: | 2017-01-31 |
Package Last Update: | 2020-01-11 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:17:16 |
Package Statistics | |
---|---|
Total Downloads: | 870 |
Monthly Downloads: | 2 |
Daily Downloads: | 1 |
Total Stars: | 1 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Display SQL queries executed for current page.
Add the xabou/sql-dumper
Composer dependency to your project.
composer require xabou/sql-dumper
Open config/app.php
and append providers
array with:
Xabou\SqlDumper\SqlDumperServicePRovider::class
Publish Dumper's configuration file to enable\disable it .
php artisan vendor:publish --tag=sql-dumper-config
A config file with name sql-dumper.php
will be created.
return [
/*
|--------------------------------------------------------------------------
| Feature Flag
|--------------------------------------------------------------------------
|
| Here you can enable\disable dumper.
|
*/
'enabled' => true,
];
Enable dumper through config file and see every SQL query executed for current page.
Note: Dumper will only render queries in any non production environment.
##License
This package is released under the MIT License.