push array with key and value laravel 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']]);