Created
November 5, 2019 16:33
-
-
Save ejunker/bd7711a2222b0f86ad3f968fa09d84ce 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
<?php | |
return [ | |
'defaultIncludes' => [ | |
__DIR__ . '/bootstrap-tinker.php', | |
], | |
'startupMessage' => sprintf('<info>%s</info>', shell_exec('php artisan inspire')), | |
]; |
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
<?php | |
DB::listen(static function ($query) { | |
dump([$query->sql, $query->bindings, $query->time]); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment