how to use diff for collect laravel code example Example: add to collection laravel $item = collect(); $item->push($product);