$randomItem = $collection->random();

$fruits = collect(['Apple', 'Banana', 'Orange', 'Grapes', 'Mango']);

$randomFruit = $fruits->random();