PHPackages                             identity-layer/collection - 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. identity-layer/collection

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

identity-layer/collection
=========================

Generic collection library

1.0.3(3y ago)0301MITPHPPHP &gt;=7.2

Since Oct 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/identity-layer/collection)[ Packagist](https://packagist.org/packages/identity-layer/collection)[ RSS](/packages/identity-layer-collection/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (5)Used By (1)

alvnchevolleaux/collection
==========================

[](#alvnchevolleauxcollection)

Intro
-----

[](#intro)

PHP lacks generics and therefore a user-land library such as this can be a useful reusable base implementation to provide concepts such as an immutable set. In paradigms such as Functional Programming or Domain Driven Design, immutability is an essential component to encapsulate the state of your objects.

Quickstart
----------

[](#quickstart)

`composer require identity-layer/collection`

```
