Skip to content

Instantly share code, notes, and snippets.

@azizramdan
Last active January 6, 2022 03:06
Show Gist options
  • Save azizramdan/e0b07d7a9669f1633b9f4a3e7f8f96ef to your computer and use it in GitHub Desktop.
Save azizramdan/e0b07d7a9669f1633b9f4a3e7f8f96ef to your computer and use it in GitHub Desktop.
dump query
\DB::listen(function ($query) {
dump($query->sql, $query->bindings);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment