Ross ROSS = Recommend OSS · open-source software intelligence for agents

doctrine/collections

Collections Abstraction Library observed · 2026-08-28

github.com/doctrine/collections · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 93
  • Release rhythm 69
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 39.5
  • age_days: 4981
  • days_rel: 126
  • days_push: 47
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

5975 stars · 186 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

Doctrine Collections is a PHP library providing ArrayCollection and Collection interfaces that add functional operations like filter, map, and contains on top of PHP arrays. It is a foundational dependency of the Doctrine ecosystem with over 1,300 dependents.

Use cases

  • filter and transform arrays of data in PHP with a fluent collection API
  • work with typed collections instead of raw PHP arrays
  • share a common collection interface across Doctrine ORM entities
  • iterate over ordered maps and lists with external iterators
  • add functional programming helpers like map, filter, and partition to PHP projects

When to choose

  • you are building on Doctrine ORM or other Doctrine projects that require it
  • you want a battle-tested, widely adopted collection abstraction for PHP
  • you need a consistent Collection interface across libraries

When to avoid

  • you only need simple array operations available natively in PHP
  • you want lazy evaluation or immutable collections with advanced functional features
  • your project does not use PHP

Facets

library · maturity stable

developer-tools programming-languages developer-tools php collections arrays iterators doctrine data-structures

10 sources

Member repositories

RepositoryRoleHealth v2
doctrine/collectionsmain86

For agents

markdown · JSON · MCP: product_card(name="doctrine/collections")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem