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

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

codeinc/collection-interface
============================

A simple PHP interface for iterable collections

1.1.2(7y ago)0492MITPHPPHP &gt;=7.1

Since Sep 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/CodeIncHQ/CollectionInterface)[ Packagist](https://packagist.org/packages/codeinc/collection-interface)[ Docs](https://github.com/CodeIncHQ/CollectionInterface)[ RSS](/packages/codeinc-collection-interface/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)DependenciesVersions (5)Used By (2)

CollectionInterface
===================

[](#collectioninterface)

The repository provides two PHP interfaces for iterable collections:

- [`CollectionInterface`](src/CollectionInterface.php) for simple collections
- [`CountableCollectionInterface`](src/CountableCollectionInterface.php) for countable collections

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

[](#installation)

This library is available through [Packagist](https://packagist.org/packages/codeinc/collection-interface) and can be installed using [Composer](https://getcomposer.org/):

```
composer require codeinc/collection-interface
```

License
-------

[](#license)

This library is published under the MIT license (see the [`LICENSE`](LICENSE) file).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

4

Last Release

2816d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/8f72f949d7f70e400c02c225685f1934dec6219689f25edec38b4037df166d58?d=identicon)[codeinc](/maintainers/codeinc)

### Embed Badge

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

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

###  Alternatives

[axllent/silverstripe-email-obfuscator

Email obfuscator for SilverStripe

10109.1k5](/packages/axllent-silverstripe-email-obfuscator)

PHPackages © 2026

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