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

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

yosymfony/collection
====================

A set of classes for working with arrays of data

v3.0.0(3y ago)45911[1 PRs](https://github.com/yosymfony/collection/pulls)3MITPHPPHP &gt;=8.1CI failing

Since Oct 14Pushed 3mo ago2 watchersCompare

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

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

A set of classes for working with arrays of data.

[![Build Status](https://camo.githubusercontent.com/ffa535e0d1057335a01cc021a9ce3e5bb5efbb2364fbbf073a6823b1d33d9941/68747470733a2f2f7472617669732d63692e6f72672f796f73796d666f6e792f636f6c6c656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yosymfony/collection)[![Latest Stable Version](https://camo.githubusercontent.com/3976ef2b38461d045a797e6a81c1f688d40046af002328216f7cdf9f7131253d/68747470733a2f2f706f7365722e707567782e6f72672f796f73796d666f6e792f636f6c6c656374696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/yosymfony/collection)

Requires
--------

[](#requires)

- PHP +7.3

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

[](#installation)

The preferred installation method is [composer](https://getcomposer.org):

```
composer require yosymfony/collection
```

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

[](#documentation)

See [docs](docs/usage.md).

Unit tests
----------

[](#unit-tests)

You can run the unit tests with the following command:

```
$ cd collection
$ composer test
```

License
-------

[](#license)

This library is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance54

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~342 days

Total

5

Last Release

1399d ago

Major Versions

v1.2.0 → v2.0.02019-10-07

v2.0.0 → v3.0.02022-07-15

PHP version history (3 changes)v1.0.0PHP &gt;=7.2

v2.0.0PHP &gt;=7.3

v3.0.0PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![yosymfony](https://avatars.githubusercontent.com/u/3321099?v=4)](https://github.com/yosymfony "yosymfony (16 commits)")

---

Tags

arraycollectionphparraycollection

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yosymfony-collection/health.svg)

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

###  Alternatives

[aimeos/map

Easy and elegant handling of PHP arrays as array-like collection objects similar to jQuery and Laravel Collections

4.2k412.9k11](/packages/aimeos-map)[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[yansongda/supports

common components

211.4M31](/packages/yansongda-supports)[armincms/json

A Laravel Nova field.

25149.4k3](/packages/armincms-json)[graze/sort

A collection of array sorting transforms and functions

12289.6k2](/packages/graze-sort)[graze/data-structure

Data collections and containers

12287.4k8](/packages/graze-data-structure)

PHPackages © 2026

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