I solve the same problem using this code in my controller
\DB::listen(
function ($sql, $bindings, $time) {
print_r([$sql, $bindings]);
}
);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community