inrandomorder eloquent code example
Example: inrandomorder laravel
$randomUser = DB::table('users')
->inRandomOrder()
->first();
$randomUser = DB::table('users')
->inRandomOrder()
->first();