Laravel - Collections - Method Zip
The zip
method merges together the values of the given array with the values of the original collection at their corresponding index:
$collection = collect(['Chair', 'Desk']);
$zipped = $collection->zip([100, 200]);
$zipped->all();
// [['Chair', 100], ['Desk', 200]]