- Show SQL
Add the following to the boot method in app/Providers/AppServiceProvider.php
public function boot()
{
\DB::listen(function ($query) {
logger($query->sql, [
'bindings' => $query->bindings,
Add the following to the boot method in app/Providers/AppServiceProvider.php
public function boot()
{
\DB::listen(function ($query) {
logger($query->sql, [
'bindings' => $query->bindings,
| * Obfuscating is not going to stop everyone but goes some way to protect your email address from some bots. | |
| * This is a basic implementation which works for me. | |
| * There are 3 parts to it which are as follows: | |
| // css | |
| .obfuscate { | |
| unicode-bidi: bidi-override; | |
| direction: rtl; | |
| } |