| Package Data | |
|---|---|
| Maintainer Username: | libern |
| Maintainer Contact: | libernlin@gmail.com (Libern Lin) |
| Package Create Date: | 2016-01-26 |
| Package Last Update: | 2017-10-07 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-26 03:15:19 |
| Package Statistics | |
|---|---|
| Total Downloads: | 4,563 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 4 |
| Total Open Issues: | 0 |
Laravel 5 package for logging SQL queries.
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"