addapp/laravel-query-log
laravel-query-log
This is a service provider fully logging all mysql queries.
Installation
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'
]),
]
Result
Run php artisan tail and watch:

The queries logged are valid mysql queries!
Credits
Credits go to the people answering this stackoverflow question.