PHPackages                             daikon/data-structure - 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. daikon/data-structure

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

daikon/data-structure
=====================

Immutable data structures based on php/ds.

v0.4(5y ago)64.8k1[1 issues](https://github.com/daikon-cqrs/data-structure/issues)[1 PRs](https://github.com/daikon-cqrs/data-structure/pulls)10MPL-2.0PHPPHP ^7.4|^8.0

Since Dec 1Pushed 3y ago4 watchersCompare

[ Source](https://github.com/daikon-cqrs/data-structure)[ Packagist](https://packagist.org/packages/daikon/data-structure)[ Docs](https://github.com/daikon-cqrs/data-structure)[ RSS](/packages/daikon-data-structure/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (6)Versions (6)Used By (10)

Data Structure
==============

[](#data-structure)

[![PHP Version Support](https://camo.githubusercontent.com/a3b87134e7f19701e15c3979ed78f19edcd894cc926d13d34ae7e72ecbf20785/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f6461696b6f6e2f646174612d7374727563747572653f636f6c6f723d626c7565)](https://camo.githubusercontent.com/a3b87134e7f19701e15c3979ed78f19edcd894cc926d13d34ae7e72ecbf20785/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f6461696b6f6e2f646174612d7374727563747572653f636f6c6f723d626c7565)[![Lines of Code](https://camo.githubusercontent.com/bdf6abd91585342c784e8551f3958f78160397071c3018041064ac655839b891/68747470733a2f2f62616467656e2e6e65742f636f6465636c696d6174652f6c6f632f6461696b6f6e2d637172732f646174612d737472756374757265)](https://codeclimate.com/github/daikon-cqrs/data-structure/code?sort=-loc)[![Packagist](https://camo.githubusercontent.com/83f32b635c82cd7e6c8034251830f35a7e0201ee9a896c109f5581c703eef647/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6e616d652f6461696b6f6e2f646174612d7374727563747572653f636f6c6f723d626c7565)](https://packagist.org/packages/daikon/data-structure)[![License](https://camo.githubusercontent.com/84d4da4701e5bdb1c45697edd30bb4ce5328ea5492765fc6c708683f230c0482/68747470733a2f2f62616467656e2e6e65742f6769746875622f6c6963656e73652f6461696b6f6e2d637172732f646174612d737472756374757265)](https://github.com/daikon-cqrs/data-structure/blob/master/LICENSE)

[![Build Status](https://camo.githubusercontent.com/45976049c87c573f71b9d0f37c31f53ec48aa83a5d97a44591000ded8386afb7/68747470733a2f2f62616467656e2e6e65742f7472617669732f6461696b6f6e2d637172732f646174612d7374727563747572653f6c6162656c3d6275696c64)](https://travis-ci.com/daikon-cqrs/data-structure)[![Code Coverage](https://camo.githubusercontent.com/6807c9075976647e1da32b0caa1a36d0d923f13e1478f5fac53ba6a5f14e3198/68747470733a2f2f62616467656e2e6e65742f636f6465636f762f632f6769746875622f6461696b6f6e2d637172732f646174612d737472756374757265)](https://codecov.io/gh/daikon-cqrs/data-structure)[![Type Coverage](https://camo.githubusercontent.com/41360ba06945484adb5716e37026efd6e94f723086ec669cad0c2a5653fe21c6/68747470733a2f2f73686570686572642e6465762f6769746875622f6461696b6f6e2d637172732f646174612d7374727563747572652f636f7665726167652e737667)](https://shepherd.dev/github/daikon-cqrs/data-structure)[![Code Quality](https://camo.githubusercontent.com/6557c914e42b7f091cbdc2c5e5e7637b0f4ad523ae4647acabd91082be4549ce/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f6461696b6f6e2d637172732f646174612d7374727563747572652f6d6173746572)](https://scrutinizer-ci.com/g/daikon-cqrs/data-structure/?branch=master)[![Code Maintainability](https://camo.githubusercontent.com/2ace636d7ca63fd1caf92eabe34c22696254fd6dacf16e10e93f353d5f77b1d9/68747470733a2f2f62616467656e2e6e65742f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6461696b6f6e2d637172732f646174612d737472756374757265)](https://codeclimate.com/github/daikon-cqrs/data-structure)[![Dependabot](https://camo.githubusercontent.com/b3cd88bb09cec6a5bd38f1750723ecaf26db835c424efd28b024fe7379edc89b/68747470733a2f2f62616467656e2e6e65742f6769746875622f646570656e6461626f742f6461696b6f6e2d637172732f646174612d737472756374757265)](https://github.com/daikon-cqrs/data-structure/network/updates)

Immutable data structures based on php/ds.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% 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 ~268 days

Total

4

Last Release

1917d ago

PHP version history (4 changes)v0.1PHP &gt;=7.1

v0.2PHP ^7.2

v0.3PHP ^7.4

v0.4PHP ^7.4|^8.0

### Community

Maintainers

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

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

---

Top Contributors

[![MrHash](https://avatars.githubusercontent.com/u/390925?v=4)](https://github.com/MrHash "MrHash (61 commits)")[![shrink0r](https://avatars.githubusercontent.com/u/202678?v=4)](https://github.com/shrink0r "shrink0r (19 commits)")[![graste](https://avatars.githubusercontent.com/u/203540?v=4)](https://github.com/graste "graste (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

data-structureimmutablelistmapvectorvectormaplistimmutabledata structure

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/daikon-data-structure/health.svg)

```
[![Health](https://phpackages.com/badges/daikon-data-structure/health.svg)](https://phpackages.com/packages/daikon-data-structure)
```

###  Alternatives

[phpcollection/phpcollection

General-Purpose Collection Library for PHP

1.0k64.0M34](/packages/phpcollection-phpcollection)[equip/structure

Simple, immutable data structures

40201.9k2](/packages/equip-structure)

PHPackages © 2026

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