oscaragcp / sql-logging
Laravel 5 package for logging SQL queries.
v1.0.0
2015-11-20 12:25 UTC
Requires
- php: >=5.4.0
- illuminate/support: 5.0.x|5.1.x
- monolog/monolog: ~1.11
This package is not auto-updated.
Last update: 2024-11-01 07:56:05 UTC
README
Laravel 5 package for logging SQL queries.
Install
Require this package with composer using the following command:
composer require oscaragcp/sql-logging
Or just add oscaragcp/sql-logging to your composer.json file:
{ "require": { "oscaragcp/sql-logging": "dev-master" } }
After updating composer, add the service provider to the providers
array in config/app.php
"OscarAGCP\SqlLogging\SqlLoggingServiceProvider",
You can also publish the config file to enable/disable the logging.
php artisan vendor:publish --provider="OscarAGCP\SqlLogging\SqlLoggingServiceProvider"