Created
July 6, 2016 22:00
-
-
Save vivg/53d1424704310ab5b4e80b8ebf3f0d59 to your computer and use it in GitHub Desktop.
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
//paste at the end of routes.php | |
\Event::listen('Illuminate\Database\Events\QueryExecuted', function ($query) { | |
var_dump($query->sql); | |
var_dump($query->bindings); | |
var_dump($query->time); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment