composer require codepku/laravel-query-logger --dev -vvv
Then run this command in your Shell:
php artisan vendor:publish --provider="CodePKu\LaravelQueryLogger\LaravelQueryLoggerServiceProvider"
Enable Laravel Query Logger
Set the log-level for log
Only log queries longer than this value in seconds, it is 5
second by default