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

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

eloquentcoder/datastructures-php
================================

A simple php package with all of the popular data structures and their corresponding methods and propertieable

1.0.0(4y ago)03MITPHPPHP ^8.0

Since Mar 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eloquentcoder/data-structures-php)[ Packagist](https://packagist.org/packages/eloquentcoder/datastructures-php)[ RSS](/packages/eloquentcoder-datastructures-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

data-structures-php
===================

[](#data-structures-php)

Popular Data structures written in php. Will be updated regularly to include more data structures that you can include in your php projects.

How to install
==============

[](#how-to-install)

To install this package run

```
composer require eloquentcoder/datastructures-php

```

The run

```
composer install

```

Usage
=====

[](#usage)

To use the singlylinkedlist, create an object of singlylinkedList like this;

```
$linkedList = new SinglyLinkedList();

```

then you can call the insert method, append method and the deleteValue method to perform insertions, appending and deletion of values;

```
$linkedList->insert($data);
$linkedList->append($data);
$linkedList->delete($data);

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1534d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[thenextweb/passgenerator

A Laravel package to create Apple Wallet (old Passbook) compatible tickets.

297435.6k](/packages/thenextweb-passgenerator)[theseer/autoload

A tool and library to generate autoload code.

393193.5k7](/packages/theseer-autoload)[ramytalal/label-printer

An implementation of the Brother label printer API.

6641.8k](/packages/ramytalal-label-printer)[gillesgoetsch/acf-smart-button

A simple, clean and lean ACF Field for internal and external links.

7625.5k](/packages/gillesgoetsch-acf-smart-button)

PHPackages © 2026

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