All good things come to an end. Thanks everyone for using this package :)
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.
This package is released under the MIT License.