Actualización de la matriz de Laravel
// set products.name as array
session()->put('products.name', []);
// somewhere later
session()->push('products.name', $name1);
// somewhere else later
session()->push('products.name', $name2);
Shadow