how to append values in an aray in laravle code example
Example: how to add values to an array in laravel
$array = array('foo' => 'bar');
$array = array_add($array, 'key', 'value');
$array = array('foo' => 'bar');
$array = array_add($array, 'key', 'value');