Activer la marquerie Laravel
\DB::enableQueryLog();
dd(\DB::getQueryLog());
Difficult Dove
\DB::enableQueryLog();
dd(\DB::getQueryLog());
DB::enableQueryLog(); // Enable query log
// Your Eloquent query executed by using get()
dd(DB::getQueryLog()); // Show results of log