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 1w 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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

2036d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37179593?v=4)[Matheus Mazoni](/maintainers/MMazoni)[@MMazoni](https://github.com/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

[zamoose/themehookalliance

Theme Hook Alliance

36710.4k](/packages/zamoose-themehookalliance)[solarissmoke/disable-comments-mu

This is the must-use version of the Disable Comments WordPress plugin. Copy the contents of this directory into your mu-plugins directory in order to disable comments on the entire site/network, without any configuration. You should delete all existing comments from the WordPress database before activating this plugin. If you want to be able to configure the plugin's behaviour, then use the normal version.

6570.2k](/packages/solarissmoke-disable-comments-mu)[dstuecken/php7ify

php7ify is a project that brings new php7 classes and exceptions to php 5.x.

11159.2k1](/packages/dstuecken-php7ify)

PHPackages © 2026

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