PHPackages                             subjective-php/spl-datastructures - 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. subjective-php/spl-datastructures

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

subjective-php/spl-datastructures
=================================

A set of standard datastructures.

v3.0.0(7y ago)1511MITPHPPHP ^7.0

Since Jul 22Pushed 7y agoCompare

[ Source](https://github.com/subjective-php/spl-datastructures)[ Packagist](https://packagist.org/packages/subjective-php/spl-datastructures)[ RSS](/packages/subjective-php-spl-datastructures/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

SubjectivePHP\\Spl\\DataStructures
==================================

[](#subjectivephpspldatastructures)

[![Build Status](https://camo.githubusercontent.com/afeae811efe5aa8e0f3f0b3cb7e80353ab2df0a5e194ae4582053edc9c18b930/68747470733a2f2f7472617669732d63692e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/subjective-php/spl-datastructures)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/186113402d8d730c93eed3ea05493aaf1a59995c763720863cc84018417a751b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/subjective-php/spl-datastructures/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/621f5350564fe5de9601223c38e60dbdef04a6f358b77938d2cdc64154d31eed/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/subjective-php/spl-datastructures?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/c37d52f94c32d152adf256c194eccfc7d3270d2c066a3991335ae61e06741147/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f762f737461626c65)](https://packagist.org/packages/subjective-php/spl-datastructures)[![Latest Unstable Version](https://camo.githubusercontent.com/1547a9fa10dfc2122cc7ea699c84810cbc5b431d4e4b57b3aea422435f8fbdf2/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f762f756e737461626c65)](https://packagist.org/packages/subjective-php/spl-datastructures)[![License](https://camo.githubusercontent.com/894c92f2c2b8f8c1fa2c4aaa682fd2c388ac29d9eb02aeec6f235481a80d6baf/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f6c6963656e7365)](https://packagist.org/packages/subjective-php/spl-datastructures)

[![Total Downloads](https://camo.githubusercontent.com/ef7e16e3dc1090d85ab6da7ee1a5342aa82e0f9c8138f6f5b171bcd50b86e80a/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f646f776e6c6f616473)](https://packagist.org/packages/subjective-php/spl-datastructures)[![Daily Downloads](https://camo.githubusercontent.com/554340175b8872c39a49f23a2ca41244daecd51c87190f92d58e086035fc352c/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f642f6461696c79)](https://packagist.org/packages/subjective-php/spl-datastructures)[![Monthly Downloads](https://camo.githubusercontent.com/ce6231c21f749567047e4458d6fa91663fd17837b053b74799aa3bb8b780962e/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d64617461737472756374757265732f642f6d6f6e74686c79)](https://packagist.org/packages/subjective-php/spl-datastructures)

[![Documentation](https://camo.githubusercontent.com/a5445bbf0a3a04a2ec4db113f8a4ada4e12b57d9b2de32d936fa17800bc9ca6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7265666572656e63652d706870646f632d626c75652e7376673f7374796c653d666c6174)](http://www.pholiophp.org/subjective-php/spl-datastructures)

A set of standard datastructures.

Requirements
------------

[](#requirements)

Chadicus\\Spl\\DataStructures requires PHP 7.0 (or later).

Composer
--------

[](#composer)

To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `subjective-php/spl-datastructures` to your project's `composer.json` file such as:

```
composer require subjective-php/spl-datastructures
```

Contact
-------

[](#contact)

Developers may be contacted at:

- [Pull Requests](https://github.com/subjective-php/spl-datastructures/pulls)
- [Issues](https://github.com/subjective-php/spl-datastructures/issues)

Project Build
-------------

[](#project-build)

With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```
composer install
./vendor/bin/phpunit
./vendor/bin/phpcs
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~209 days

Recently: every ~247 days

Total

6

Last Release

2906d ago

Major Versions

v0.1.0 → v1.0.02015-09-15

v1.1.0 → v2.0.02016-08-16

v2.0.0 → v3.0.02018-06-02

PHP version history (3 changes)v0.1.0PHP ~5.4 || ~7.0

v2.0.0PHP ^5.6 || ^7.0

v3.0.0PHP ^7.0

### Community

Maintainers

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

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (70 commits)")

---

Tags

spldatastructures

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/subjective-php-spl-datastructures/health.svg)

```
[![Health](https://phpackages.com/badges/subjective-php-spl-datastructures/health.svg)](https://phpackages.com/packages/subjective-php-spl-datastructures)
```

###  Alternatives

[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

381368.5k](/packages/ihor-nspl)[sdboyer/gliph

A graph library for PHP.

17029.1k1](/packages/sdboyer-gliph)

PHPackages © 2026

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