Last active
April 7, 2018 13:53
-
-
Save zymawy/0877a20e07eec6aa5852d29a3ac3dc34 to your computer and use it in GitHub Desktop.
Listen for illuminate queries
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// routes web.php | |
\Event::listen('illuminate.query', function($sql) { | |
var_dump($sql); | |
\Log::info($sql); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment