fatty-rabbit / sql-log
Installs: 174
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/fatty-rabbit/sql-log
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: 2025-12-22 12:00:28 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' => [], ], ];