Laravel Array Helper Function: array_prepend (Easily Add an Item to the Beginning of an Array)
prepend($array, $value, $key = null) The prepend helper method is used to push a new $value onto the beginning of an existing $array . It defines one optional parameter: $key . If an argument is supplied for $key , the new item will be given that...