xabou/sql-dumper is a Laravel package for laravel sql queries dumper.
It currently has 1 GitHub stars and 875 downloads on Packagist (latest version v0.0.2).
Install it with composer require xabou/sql-dumper.
Discover more Laravel packages by xabou
or browse all Laravel packages to compare alternatives.
Last updated
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.