random function in laravel eloquent code example
Example: laravel get random row
User::all()->random();
User::all()->random(10); // The amount of items you wish to receive
User::all()->random();
User::all()->random(10); // The amount of items you wish to receive