fatty-rabbit / sql-log
0.6.0
2021-04-22 02:02 UTC
Requires
- php: >=5.6
- illuminate/contracts: ~5.0
- illuminate/http: ~5.3
- illuminate/support: ~5.3
- laravel/framework: ~5.3
- monolog/monolog: ~1.11
This package is auto-updated.
Last update: 2024-10-22 09:35:43 UTC
README
Laravel 5.3
For Laravel versions 5.3+, please continue below.
Install Sql Log:
composer require fatty-rabbit/sql-log
Add the Service Provider:
'providers' => array( # other providers omitted 'FattyRabbit\SqlLog\SqlLogSearviceProvider', );
Publish the package config file to config/sqllog.php
:
$ php artisan vendor:publish --provider="FattyRabbit\SqlLog\SqlLogSearviceProvider"
Then edit the published configuration file config/sqllog.php
as needed.
<?php return [ 'base_level' => 'debug', 'ignore' => [ 'ip' => [ '127.0.0.1', ], 'uri' => [], ], ];