Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 419 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 419 Bytes

Install

composer require codepku/laravel-query-logger --dev -vvv

Then run this command in your Shell:

php artisan vendor:publish --provider="CodePKu\LaravelQueryLogger\LaravelQueryLoggerServiceProvider"

Configuration

enabled

Enable Laravel Query Logger

log-level

Set the log-level for log

slower

Only log queries longer than this value in seconds, it is 5 second by default