laravel get all executed query code example Example: enablequerylog laravel \DB::enableQueryLog(); dd(\DB::getQueryLog());