ramsey/collection
:card_index_dividers: A PHP library for representing and manipulating collections. observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 98
- Release rhythm 40
- 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: 20
- age_days: 3963
- days_rel: 529
- days_push: 16
- n_releases_24m: 2
Adoption not part of the score
1200 stars · 54 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ramsey/collection is a PHP library for representing and manipulating collections such as arrays, maps, queues, and sets, inspired by the Java Collections Framework. It is installed via Composer and supports PHP 8.
Use cases
- work with typed collections in php
- manipulate arrays maps queues and sets in php
- java collections framework style api for php
- add collection data structures to a php8 project
- filter and sort collections of objects in php
When to choose
- you need structured, object-oriented collection classes in a PHP project
- you want a well-maintained MIT-licensed library with PHP 8 support
- you prefer a Java Collections Framework-inspired API
When to avoid
- plain PHP arrays and built-in array functions are sufficient for your needs
- you are working in a language other than PHP
- you need heavyweight data-processing pipelines better served by dedicated libraries
Facets
library · maturity stable
serialization developer-tools programming-languages developer-tools php cross-platform collections arrays data-structures php8 composer algorithms
1 source
- readme: https://github.com/ramsey/collection · fetched 2026-08-28 · debfe82cda9d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ramsey/collection | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="ramsey/collection")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem