| 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: | 2025-10-30 15:00:53 |
| Package Statistics | |
|---|---|
| Total Downloads: | 5,443 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 12 |
| Total Watchers: | 13 |
| 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.