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

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

cajudev/collection
==================

Making php more object oriented.

2.3.4(3y ago)02.2kMITPHPPHP &gt;=7.0CI failing

Since Aug 3Pushed 3y agoCompare

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

READMEChangelog (9)Dependencies (3)Versions (10)Used By (0)

Collection
==========

[](#collection)

[![](https://camo.githubusercontent.com/e47065bb3484a0654c40ac420ca07cfd9f3342641423bcf65dc93dc4ff092d2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63616a756465762f636f6c6c656374696f6e2e737667)](https://packagist.org/packages/cajudev/collection)[![](https://camo.githubusercontent.com/ecbe2167923c4beb23f45296cb7993c87643199b59ebaf7e11f12e5a456d5f60/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63616a756465762f636f6c6c656374696f6e2e737667)](https://packagist.org/packages/cajudev/collection)[![](https://camo.githubusercontent.com/ec5e14d92c4e17f033b570c91e13a3c1c1de90ebbc13a019248f517de61d9548/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f63616a756465762f636f6c6c656374696f6e2e737667)](https://raw.githubusercontent.com/cajudev/collection/master/LICENSE)[![](https://camo.githubusercontent.com/86bff9b5f8401a593b4e47f0bbe1e011ca3cca6b4ccdb30b3fd2a14728a25ce1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f63616a756465762f636f6c6c656374696f6e2e737667)](https://travis-ci.org/cajudev/collection)[![](https://camo.githubusercontent.com/8d3b052416fd44d3e658e85738baee49910211d7a2d53ce63f90c6bfa70348bb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63616a756465762f636f6c6c656374696f6e2f62616467652e7376673f6272616e63683d7632)](https://coveralls.io/github/cajudev/collection)[![](https://camo.githubusercontent.com/22677d11828885d3ffe76bc431032c8f17292712e751f367ae81638dc1a2c264/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f63616a756465762f636f6c6c656374696f6e2e737667)](https://github.com/cajudev/collection/issues)[![](https://camo.githubusercontent.com/607958d3550eaff021ad4fd1ed6632f582e0848337f65702f1ad8c8ebcb67638/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f63616a756465762f636f6c6c656374696f6e2e737667)](https://github.com/cajudev/collection/graphs/contributors)

A complete library to work with arrays in php

Read documentation here

Features
--------

[](#features)

- Respect PSR-1, PSR-2 e PSR-4
- High coverage of tests
- Zero third party dependencies

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

[](#installation)

`composer require cajudev/collection "^2"`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Recently: every ~228 days

Total

10

Last Release

1377d ago

PHP version history (2 changes)2.0.0PHP ^7.0

2.3.2PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/54964fe64b67c8498eaaab8ae3475267a64057957a423fd69f7b4f81e93a21ba?d=identicon)[cajudev](/maintainers/cajudev)

---

Top Contributors

[![lopesrichard](https://avatars.githubusercontent.com/u/42302993?v=4)](https://github.com/lopesrichard "lopesrichard (75 commits)")

---

Tags

arraycollectionlistarraylist

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/cajudev-collection/health.svg)](https://phpackages.com/packages/cajudev-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)[athari/yalinqo

YaLinqo, a LINQ-to-objects library for PHP

4561.2M5](/packages/athari-yalinqo)[graze/sort

A collection of array sorting transforms and functions

12289.6k2](/packages/graze-sort)[yansongda/supports

common components

211.4M31](/packages/yansongda-supports)[topshelfcraft/supersort

...a super-duper sorting function for your Craft templates.

4287.1k1](/packages/topshelfcraft-supersort)

PHPackages © 2026

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