PHPackages                             aheenam/laravel-collection-addon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aheenam/laravel-collection-addon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aheenam/laravel-collection-addon
================================

A Laravel Package

2.0.0(7y ago)25MITPHPPHP ^7.2

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aheenam/laravel-collection-addon)[ Packagist](https://packagist.org/packages/aheenam/laravel-collection-addon)[ RSS](/packages/aheenam-laravel-collection-addon/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Laravel Collection Addons
=========================

[](#laravel-collection-addons)

This package provides some additional functions that can be used with Laravel's Collection.

Requirements
------------

[](#requirements)

This package requires PHP in`>= 7.2` and Laravel in `>= 5.7`.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require aheenam/laravel-collection-addon
```

Usage
-----

[](#usage)

This package comes with following additional methods for Laravel collections

### `containsAll($subset)`

[](#containsallsubset)

This method returns true if the collection contains all elements of the given `$subset`.

```
