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

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

yriveiro/php-collection
=======================

0.4.0(10y ago)015MITPHPCI failing

Since Dec 6Pushed 10y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Collection, A simple way to deal with data
------------------------------------------

[](#collection-a-simple-way-to-deal-with-data)

Collection works with PHP 5.3.9 or later and HHMV.

[![License](https://camo.githubusercontent.com/dc8aec62f097bc75e629ee6b235dcc774dbc1061aa797ed066ca8f2822c6773f/68747470733a2f2f706f7365722e707567782e6f72672f797269766569726f2f7068702d636f6c6c656374696f6e2f6c6963656e7365)](https://packagist.org/packages/yriveiro/php-collection) [![Build Status](https://camo.githubusercontent.com/49b9e62bdfea19329031e6859b9e00f246b57ea56d06c35684152a7f27891112/68747470733a2f2f7472617669732d63692e6f72672f797269766569726f2f7068702d636f6c6c656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yriveiro/php-collection) [![Coverage Status](https://camo.githubusercontent.com/4a134a932cde16fc01cb80506bff7a469effa90bcf8ed562270ee3a4c85aeb29/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f797269766569726f2f7068702d636f6c6c656374696f6e2f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/yriveiro/php-collection?branch=master) [![Total Downloads](https://camo.githubusercontent.com/52a5a74d1be57d628f57126a97a2ac01687f9685d9f308731d9c5ed13b8e14b7/68747470733a2f2f706f7365722e707567782e6f72672f797269766569726f2f7068702d636f6c6c656374696f6e2f646f776e6c6f616473)](https://packagist.org/packages/yriveiro/php-collection)

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

[](#installation)

The recommended way to install this package is through [Composer](http://getcomposer.org/download/).

```
php composer.phar require "yriveiro/php-collection"
```

License
-------

[](#license)

Collection is licensed under MIT license.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~2 days

Total

5

Last Release

3799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7554ea3632f73106aa0ea29305bdb42cac32406edf0d8bdf651c703c19603986?d=identicon)[yriveiro](/maintainers/yriveiro)

---

Top Contributors

[![yriveiro](https://avatars.githubusercontent.com/u/934763?v=4)](https://github.com/yriveiro "yriveiro (19 commits)")

---

Tags

collection

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phpcollection/phpcollection

General-Purpose Collection Library for PHP

1.0k64.0M34](/packages/phpcollection-phpcollection)[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)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[loophp/collection

A (memory) friendly, easy, lazy and modular collection class.

745663.8k13](/packages/loophp-collection)[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[lorisleiva/lody

Load files and classes as lazy collections in Laravel.

956.6M9](/packages/lorisleiva-lody)

PHPackages © 2026

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