laravel push to array at key code example
Example: how push to array whit key in laravel
array_push($arraye , ['title'=>$data['title'] , 'desc'=> $data['desc']]);
array_push($arraye , ['title'=>$data['title'] , 'desc'=> $data['desc']]);