laravel get random element from db laravel 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