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

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

mundanity/collection
====================

A simple PHP based collection.

v1.0.0(8y ago)090.2k5[1 PRs](https://github.com/mundanity/collection/pulls)MITPHPPHP ~5.6 || ~7.1

Since Feb 7Pushed 7y agoCompare

[ Source](https://github.com/mundanity/collection)[ Packagist](https://packagist.org/packages/mundanity/collection)[ Docs](https://github.com/mundanity/collection)[ RSS](/packages/mundanity-collection/feed)WikiDiscussions master Synced 3d ago

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

[![Build Status](https://camo.githubusercontent.com/1ed6a39311a9d98dcb3d44e6405393272f6df51ecf807e797d0bbfa3cea7a748/68747470733a2f2f7472617669732d63692e6f72672f6d756e64616e6974792f636f6c6c656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mundanity/collection)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/861ba95066d59fb8b3efa78f467c5f31acae142057c84fb6675a0025995eed22/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d756e64616e6974792f636f6c6c656374696f6e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mundanity/collection/?branch=master)

A simple PHP based collection.

Usage
-----

[](#usage)

For basic usage, use the provided base class of [Collection](src/Collection.php) or [KeyedCollection](src/KeyedCollection.php). Each class has a mutable counterpart.

```
