Activer la marquerie Laravel
\DB::enableQueryLog();
dd(\DB::getQueryLog());
Difficult Dove
\DB::enableQueryLog();
dd(\DB::getQueryLog());
DB::enableQueryLog();
// and then you can get query log
dd(DB::getQueryLog());