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