collection laravel remove by array code example Example: remove fromc ollection collection->forget($key);