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

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

tomzx/collections
=================

PHP Collections API

27[3 issues](https://github.com/tomzx/collections/issues)PHP

Since Aug 22Pushed 10y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#collections)

[![License](https://camo.githubusercontent.com/b2431c7cdeca6072f649be00d6ee643f07bc5bba7992a46ea06a54f9689b695d/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6c6c656374696f6e732f6c6963656e73652e737667)](https://packagist.org/packages/tomzx/collections)[![Latest Stable Version](https://camo.githubusercontent.com/844867b8a98bbcea577b8c8446140bc0730ac78c424fcead9b3131b02a354209/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6c6c656374696f6e732f762f737461626c652e737667)](https://packagist.org/packages/tomzx/collections)[![Latest Unstable Version](https://camo.githubusercontent.com/03c40312c59be9bf6273bf0c1973006453b0459e8aca766842296c5c5553668a/68747470733a2f2f706f7365722e707567782e6f72672f746f6d7a782f636f6c6c656374696f6e732f762f756e737461626c652e737667)](https://packagist.org/packages/tomzx/collections)[![Build Status](https://camo.githubusercontent.com/1f6226cdee7b4d1bce7817142ffdf69ca6df071a153aa2728943028c13a17be7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746f6d7a782f636f6c6c656374696f6e732e737667)](https://travis-ci.org/tomzx/collections)[![Code Quality](https://camo.githubusercontent.com/49cd5a68c380ae96bfe779b3017e92c364366ee8159454d72ad2d6b91761c61d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746f6d7a782f636f6c6c656374696f6e732e737667)](https://scrutinizer-ci.com/g/tomzx/collections/code-structure)[![Code Coverage](https://camo.githubusercontent.com/4b4bb11084191ae04b5fef0f0b8cba7d13dbf61b6246dfd64f394b769dce256c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746f6d7a782f636f6c6c656374696f6e732e737667)](https://scrutinizer-ci.com/g/tomzx/collections)[![Total Downloads](https://camo.githubusercontent.com/ea502bc1c65ddacf1dfc98924457127494cbac4eddba00ebf703f5f3dcd3554d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f6d7a782f636f6c6c656374696f6e732e737667)](https://packagist.org/packages/tomzx/collections)

Collections is a general purpose collections library for PHP. It aims to provide various data structures that encapsulates the basic PHP array so that the appropriate type of object may be specified as typehint of functions/methods.

**Note:** This is an exploratory library. It is unstable. Use at your own risk.

License
-------

[](#license)

The code is licensed under the [MIT license](http://choosealicense.com/licenses/mit/). See [LICENSE](LICENSE).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/218f6db237e6937c05550d4d6df648f50cd9b26b098fc8c1be3930fe7d5c71e9?d=identicon)[tomzx](/maintainers/tomzx)

---

Top Contributors

[![tomzx](https://avatars.githubusercontent.com/u/188960?v=4)](https://github.com/tomzx "tomzx (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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