Enable/disable query logger in Laravel/Lumen
Requirements
- PHP >= 7.1.3
- Laravel >= 5.5.*
Installation
Require this package with composer.
composer require pnlinh/laravel-query-logger
Usage
To enable log query, set .env file below
APP_DEBUG=true
To disable log query, set .env file below
APP_DEBUG=false
Test
composer test