My team and I are working on a rather big project. There\'s queries going on everywhere - in controllers, in view composers in views (lazy loading) and probably in some othe
Additioanlly There's package available also:
https://packagist.org/packages/technoknol/log-my-queries
Just install and add it's entry to middleware. It will log all the queries in laravel.log default log file.
laravel.log