Package Data | |
---|---|
Maintainer Username: | dimsav |
Package Create Date: | 2015-03-04 |
Package Last Update: | 2015-10-18 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-19 03:18:07 |
Package Statistics | |
---|---|
Total Downloads: | 5,440 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 12 |
Total Watchers: | 14 |
Total Forks: | 1 |
Total Open Issues: | 1 |
This is a service provider fully logging all mysql queries.
composer require addapp/laravel-query-log "~0.1" --dev
Add the service provider to a NON-PRODUCTION config file:
// config/local/app.php
return [
'providers' => append_config([
'Addapp\QueryLog\QueryLogServiceProvider'
]),
]
Run php artisan tail
and watch:
The queries logged are valid mysql queries!
Credits go to the people answering this stackoverflow question.