exclude item from collection laravel code example Example: remove fromc ollection collection->forget($key);