Display or log query Display query Add code in a file: \DB::enableQueryLog(); $user = App\User::get(); dd(\DB::getQueryLog()); Log all SQL executed in Eloquent Add to routes: Event::listen('illuminate.query', function($query) { \Log::info($query); });