PHPackages                             cartalyst/collections - 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. cartalyst/collections

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

cartalyst/collections
=====================

Collection Abstaction library for PHP.

v2.0.0(4y ago)75912.6k↑1033.3%13[1 issues](https://github.com/cartalyst/collections/issues)5BSD-3-ClausePHPPHP ^8.0

Since Feb 18Pushed 3y ago13 watchersCompare

[ Source](https://github.com/cartalyst/collections)[ Packagist](https://packagist.org/packages/cartalyst/collections)[ RSS](/packages/cartalyst-collections/feed)WikiDiscussions 1.1 Synced 3w ago

READMEChangelog (1)Dependencies (2)Versions (7)Used By (5)

Collections
===========

[](#collections)

[![Build Status](https://camo.githubusercontent.com/411fa35f87102918ba7c3f6e27c7abe4354278aceadb85eef427209f05325cac/687474703a2f2f63692e63617274616c7973742e636f6d2f6275696c642d7374617475732f7376672f3439)](http://ci.cartalyst.com/build-status/view/49)

A Collections Abstraction library for PHP

The Collection library is one of the most useful things that many modern languages has, but for some reason PHP doesn't has a built in collection layer.

The package requires PHP 5.4+ and follows the FIG standards PSR-1, PSR-2 and PSR-4 to ensure a high level of interoperability between shared PHP.

An open source package by [Cartalyst](https://cartalyst.com), code well, rock on!

Documentation
-------------

[](#documentation)

Reader-friendly Documentation can be found here. [Collections Manual](https://cartalyst.com/manual/collections).

Raw files can be found via this projects docs/version branch.

- [1.1](https://github.com/cartalyst/collections/tree/docs/1.1)
- [1.0](https://github.com/cartalyst/collections/tree/docs/1.0)

Changelog
---------

[](#changelog)

Important versions listed below. Refer to the [Changelog](CHANGELOG.md) for a full history of the project.

- [1.1](CHANGELOG.md) - 2015-03-06
- [1.0](CHANGELOG.md) - 2015-02-18

Support
-------

[](#support)

The following support channels can be used for contact.

- [Twitter](https://twitter.com/@cartalyst)
- [Email](mailto:help@cartalyst.com)

Bug reports, feature requests, and pull requests can be submitted by following our [Contribution Guide](CONTRIBUTING.md).

Contributing &amp; Protocols
----------------------------

[](#contributing--protocols)

- [Versioning](CONTRIBUTING.md#versioning)
- [Coding Standards](CONTRIBUTING.md#coding-standards)
- [Pull Requests](CONTRIBUTING.md#pull-requests)

License
-------

[](#license)

This software is released under the [BSD 3-Clause](LICENSE) License.

© 2011-2015 Cartalyst LLC, All rights reserved.

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 76.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~510 days

Recently: every ~634 days

Total

6

Last Release

1590d ago

Major Versions

1.1.x-dev → 2.x-dev2022-02-14

PHP version history (2 changes)v1.0.0PHP &gt;=5.4.0

2.x-devPHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc3fd8ac4c6279992afacafbe3420cc64ffbe4b1db4880e97cb1ef4196ae847c?d=identicon)[cartalyst](/maintainers/cartalyst)

---

Top Contributors

[![brunogaspar](https://avatars.githubusercontent.com/u/2285372?v=4)](https://github.com/brunogaspar "brunogaspar (16 commits)")[![drsii](https://avatars.githubusercontent.com/u/100901?v=4)](https://github.com/drsii "drsii (2 commits)")[![suwardany](https://avatars.githubusercontent.com/u/2053770?v=4)](https://github.com/suwardany "suwardany (2 commits)")[![james2doyle](https://avatars.githubusercontent.com/u/1425304?v=4)](https://github.com/james2doyle "james2doyle (1 commits)")

---

Tags

phpcollectionscartalyst

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cartalyst-collections/health.svg)

```
[![Health](https://phpackages.com/badges/cartalyst-collections/health.svg)](https://phpackages.com/packages/cartalyst-collections)
```

###  Alternatives

[doctrine/collections

PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.

6.0k423.8M1.4k](/packages/doctrine-collections)[ilya/belt

A handful of tools for PHP developers.

70820.9k1](/packages/ilya-belt)[cartalyst/converter

A framework agnostic measurement conversion and formatting package featuring multiple types of measurements and currency conversion.

88471.0k7](/packages/cartalyst-converter)[cartalyst/alerts

Alerts allows you to easily pass alert messages to your Laravel views.

2668.8k](/packages/cartalyst-alerts)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
