display the laravel sql to sql php tinker code example
Example: show queries tinker
DB::listen(function ($query) { dump($query->sql); dump($query->bindings); dump($query->time); });
DB::listen(function ($query) { dump($query->sql); dump($query->bindings); dump($query->time); });