append key in model to collection in laravel code example Example: add to collection laravel $item = collect(); $item->push($product);