use Illuminate\Support\Facades\DB; DB::connection()->enableQueryLog(); ここでデータベースへの問い合わせ $queries = DB::getQuer […]