doctrine/collections
Collections Abstraction Library 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
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
- readme: https://github.com/doctrine/collections · fetched 2026-08-28 · 782383b38ff8
- homepage: https://www.doctrine-project.org/projects/collections.html · fetched 2026-08-29 · 7f4d2b728a17
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/3.1/index.html · fetched 2026-08-29 · 3a44b7df4932
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/latest/index.html · fetched 2026-08-29 · 1436ae9744f2
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/3.2/index.html · fetched 2026-08-29 · b91f93f9fd7e
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/3.0/index.html · fetched 2026-08-29 · 8c6e554cc73f
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/2.6/index.html · fetched 2026-08-29 · 2ca5ad3ed981
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/2.5/index.html · fetched 2026-08-29 · f8633f44c3ca
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/2.4/index.html · fetched 2026-08-29 · 8d4fa1cba13b
- site_page: https://www.doctrine-project.org/projects/doctrine-collections/en/2.3/index.html · fetched 2026-08-29 · 1a2ca559db09
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| doctrine/collections | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="doctrine/collections")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem