how to find last query in mysql in laravel code example Example: print last query laravel DB::enableQueryLog(); dd(DB::getQueryLog());