PHPackages                             sshilko/php-seids - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. sshilko/php-seids

Abandoned → [daniel-ac-martin/php-seids](/?search=daniel-ac-martin%2Fphp-seids)Library[Queues &amp; Workers](/categories/queues)

sshilko/php-seids
=================

Supplementary, Easily Interchangeable Data Structures for PHP 5. Provides alternatives and supplements to the Standard PHP Library (SPL) Datastructures.

1.1.0(10y ago)015MITPHPPHP &gt;=5.3.3

Since Apr 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sshilko/php-seids)[ Packagist](https://packagist.org/packages/sshilko/php-seids)[ Docs](http://php-seids.net)[ RSS](/packages/sshilko-php-seids/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

PHP SEIDS: Supplementary, Easily Interchangeable Data Structures
================================================================

[](#php-seids-supplementary-easily-interchangeable-data-structures)

- Added toJSON/fromJSON for priorityQueue (heap based)
- Added toArray/fromArray for priorityQueue (heap based)

[![Build Status](https://camo.githubusercontent.com/4bde39f5d27076ef01eb8fa747cbd800f6fa87ef6d36956b32e5fc61fca8e555/68747470733a2f2f7472617669732d63692e6f72672f64616e69656c2d61632d6d617274696e2f7068702d73656964732e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/daniel-ac-martin/php-seids)

**[PHP SEIDS](http://php-seids.net)** provides drop-in replacements for the [SPL Data Structure classes](http://php.net/manual/en/spl.datastructures.php) which offer alternative implementations and/or enhanced functionality.

The main features of this library are:

- An [array-deque](http://php-seids.net/manual/en/class.seids.arrays.dynamic.arraydeque.php) (only takes integer keys in a certain range, grows automatically from either end)
- An [updatable pairing heap](http://php-seids.net/manual/en/class.seids.heaps.pairing.heap.php), with associated [priority queue](http://php-seids.net/manual/en/class.seids.heaps.pairing.priorityqueue.php)

A [full list of classes](http://php-seids.net/manual/en/datastructures.php) as well as [some simple tutorials](http://php-seids.net/manual/en/getting-started.tutorials.php) on how to use the classes can be found in [the manual](http://php-seids.net/manual/en/).

The library has been designed so that it is very easy to switch between them and the original ones provided by the SPL. This means that if at some point in the future you no longer require the extra functionality they provide you can simply switch back to using the original SPL ones.

This is the initial release of this library which means it cannot be guaranteed to be bug free. That said, the library has passed its extensive unit test suite which has 100% [code coverage](http://php-seids.net/code-coverage/) (by line).

**Note:** The classes in this library are implemented directly in PHP, rather than C as the original SPL versions are. As such, they are *not* fast and should only be used when execution speed is not an issue or when the extra functionality they provide is absolutely required.

Getting started
---------------

[](#getting-started)

1. PHP 5.3.x is required
2. Install PHP SEIDS using [Composer](http://getcomposer.org) (recommended) or manually
3. Read the short [tutorials](http://php-seids.net/manual/en/getting-started.tutorials.php) to see how to use the library

License
-------

[](#license)

Copyright (C) 2015 Daniel A.C. Martin

Distributed under the MIT License.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81% 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 ~227 days

Total

2

Last Release

3811d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74fb0579a62a4158388bcf5a61a76922c7a3e7776217ea5fc33a87790011b17e?d=identicon)[sshilko](/maintainers/sshilko)

---

Top Contributors

[![daniel-ac-martin](https://avatars.githubusercontent.com/u/10604229?v=4)](https://github.com/daniel-ac-martin "daniel-ac-martin (17 commits)")[![sshilko](https://avatars.githubusercontent.com/u/1147808?v=4)](https://github.com/sshilko "sshilko (4 commits)")

---

Tags

queuestackspldata structuresheapphp-seidsSEIDSSupplementary Easily Interchangeable Data Structureslinked listbinary heappairing heappriority queuedynamic array

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sshilko-php-seids/health.svg)

```
[![Health](https://phpackages.com/badges/sshilko-php-seids/health.svg)](https://phpackages.com/packages/sshilko-php-seids)
```

###  Alternatives

[php-amqplib/php-amqplib

Formerly videlalvaro/php-amqplib. This library is a pure PHP implementation of the AMQP protocol. It's been tested against RabbitMQ.

4.6k125.3M871](/packages/php-amqplib-php-amqplib)[ramsey/collection

A PHP library for representing and manipulating collections.

1.2k486.0M69](/packages/ramsey-collection)[queue-interop/queue-interop

Promoting the interoperability of MQs objects. Based on Java JMS

48030.5M86](/packages/queue-interop-queue-interop)[phootwork/collection

The phootwork library fills gaps in the php language and provides better solutions than the existing ones php offers.

3924.8M15](/packages/phootwork-collection)[apinstein/jqjobs

Async job manager for PHP.

3220.2k](/packages/apinstein-jqjobs)

PHPackages © 2026

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