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

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

glagola/collection
==================

A library provides immutable collection, which can tell which items was added or removed

1.1.1(9y ago)028MITPHPPHP ^7.1.0

Since Apr 8Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (0)

[![Build status](https://camo.githubusercontent.com/5fe4269a8f1b00965e8d2e41d7043f36726a39ca251baa921093beac9d2674e4/68747470733a2f2f7472617669732d63692e6f72672f676c61676f6c612f636f6c6c656374696f6e2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/5fe4269a8f1b00965e8d2e41d7043f36726a39ca251baa921093beac9d2674e4/68747470733a2f2f7472617669732d63692e6f72672f676c61676f6c612f636f6c6c656374696f6e2e7376673f6272616e63683d6d6173746572)

collection
==========

[](#collection)

The library provides immutable collection, which can tell which items was added or removed.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3362d ago

### Community

Maintainers

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

---

Top Contributors

[![glagola](https://avatars.githubusercontent.com/u/1319301?v=4)](https://github.com/glagola "glagola (10 commits)")

---

Tags

diffcollectionimmutable

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21421.8M20](/packages/caxy-php-htmldiff)[aeon-php/calendar

PHP type safe, immutable calendar library

20410.2M16](/packages/aeon-php-calendar)[localheinz/diff

Fork of sebastian/diff for use with ergebnis/composer-normalize

4739.7M9](/packages/localheinz-diff)[lorisleiva/lody

Load files and classes as lazy collections in Laravel.

957.5M14](/packages/lorisleiva-lody)[mkalkbrenner/php-htmldiff-advanced

An add-on for the php-htmldiff library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

3518.5M1](/packages/mkalkbrenner-php-htmldiff-advanced)

PHPackages © 2026

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