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

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

mmazoni/data-structure
======================

Implementing most of data structures in PHP 8

v1.0.0(5y ago)58MITPHP

Since Jan 19Pushed 5y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (2)Used By (0)

Data Structure with PHP 8
=========================

[](#data-structure-with-php-8)

This code was based in the book - *PHP 7 Data Structure and Algorithms - by Mizanur Rahman*. It was built with the new version of PHP. The goal of this project is focus in data structure and algorithms using modern PHP.

### List of Data Structures

[](#list-of-data-structures)

1. Linked List
2. Stack
3. Queue
4. Tree
5. Hash table
6. Graph
7. Heap

### List of Algorithms

[](#list-of-algorithms)

1. Recursion
2. Sorting
3. Search
4. Pattern Matching

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

1945d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/688db84b0222dab4593826aab2933b86b92e586f14c5397467bc4fade89f6a4e?d=identicon)[MMazoni](/maintainers/MMazoni)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[sculpin/sculpin

Static Site Generator

1.5k102.8k12](/packages/sculpin-sculpin)[topshelfcraft/supersort

...a super-duper sorting function for your Craft templates.

4287.1k1](/packages/topshelfcraft-supersort)[artisansdk/cqrs

A foundational package for Command Query Responsibility Segregation (CQRS) compatible with Laravel.

8414.1k](/packages/artisansdk-cqrs)[corneltek/class-template

Class template Utilities

14158.1k3](/packages/corneltek-class-template)

PHPackages © 2026

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