php-ds/ext-ds
Extension for specialized native data structures in PHP observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 77
- Release rhythm 78
- 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: 0.0
- age_days: 3866
- days_rel: 144
- days_push: 141
- n_releases_24m: 5
Adoption not part of the score
2150 stars · 100 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP extension (PECL package 'ds') providing specialized native data structures like Seq, Map, Set, Heap, and Pair as efficient alternatives to PHP arrays. Version 2.0 offers a simplified API with copy-on-write semantics for safe iteration during mutation.
Use cases
- use efficient sequences instead of php arrays
- need a map with arbitrary keys in php
- fast set operations in php
- priority queue or heap for php
- stack and queue data structures in php
When to choose
- you need better performance than php arrays for collections
- you want typed, purpose-built data structures in php 8.2+
When to avoid
- you cannot install PECL extensions on your host
- your project must run on php < 8.2
Facets
library · maturity active
data-science developer-tools performance php windows data-structures pecl php-extension collections ds algorithms linux macos
2 sources
- readme: https://github.com/php-ds/ext-ds · fetched 2026-08-28 · 97f2f2aab0bd
- homepage: https://medium.com/p/9dda7af674cd · fetched 2026-08-29 · 471576e4392f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| php-ds/ext-ds | main | 82 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem