libern / laravel-sql-logging
Laravel 5 package for logging SQL queries.
Installs: 4 538
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 4
Open Issues: 0
Requires
- php: >=5.4.0
- illuminate/support: 5.0.x|5.1.x|5.2.x|5.3.x|5.5.x
- monolog/monolog: ~1.11
This package is auto-updated.
Last update: 2024-11-09 03:44:09 UTC
README
Laravel 5 package for logging SQL queries.
Install
Require this package with composer using the following command:
composer require libern/laravel-sql-logging
Or just add libern/laravel-sql-logging to your composer.json file:
{ "require": { "libern/laravel-sql-logging": "dev-master" } }
After updating composer, add the service provider to the providers
array in config/app.php
"Libern\SqlLogging\SqlLoggingServiceProvider",
You can also publish the config file to enable/disable the logging.
php artisan vendor:publish --provider="Libern\SqlLogging\SqlLoggingServiceProvider"