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

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

phant/data-structure
====================

Manage data structure easily

5.1.3(2mo ago)14.2k↓50%[1 PRs](https://github.com/PhantPHP/data-structure/pulls)5MITPHP &gt;=8.1

Since Apr 15Compare

[ Source](https://github.com/PhantPHP/data-structure)[ Packagist](https://packagist.org/packages/phant/data-structure)[ RSS](/packages/phant-data-structure/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (6)Versions (62)Used By (5)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/PhantPHP/data-structure).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance84

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

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 ~24 days

Total

60

Last Release

81d ago

Major Versions

1.8 → 2.02022-05-05

2.12 → 3.02022-09-19

3.3 → 4.02022-10-21

4.4.4 → 5.0.02025-03-19

PHP version history (2 changes)1.0PHP ^8.0

4.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ce749176c74e4c4fd7bd457cdad471fd1e0e14092259e60e7330724ce622dce?d=identicon)[Phant](/maintainers/Phant)

---

Tags

enumValue Objectcollectionentityvaluedata structureaggregate

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[lazerg/laravel-enum-pro

A powerful PHP enum extension with collection support, random selection, and magic static calls

4319.0k](/packages/lazerg-laravel-enum-pro)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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