PHPackages                             hsbmaulana/phpcollection - 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. hsbmaulana/phpcollection

ActiveLibrary

hsbmaulana/phpcollection
========================

Data Structure and Algorithm

2.2.1(3y ago)17MITPHPPHP ^8.0CI failing

Since Aug 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/hsbmaulana/phpcollection)[ Packagist](https://packagist.org/packages/hsbmaulana/phpcollection)[ Docs](https://github.com/hsbmaulana/phpcollection)[ RSS](/packages/hsbmaulana-phpcollection/feed)WikiDiscussions master Synced today

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

PHPCollection
=============

[](#phpcollection)

PHPCollection provides convenient helper for working with data structures and algorithms.

Getting Started
---------------

[](#getting-started)

Installation :

```
$ composer require hsbmaulana/phpcollection

```

How to use :

```
require_once __DIR__ . '/vendor/autoload.php';

use Lists\{ArrayList, LinkedList};

$list = new ArrayList();

$list->add("A");
$list->add("B");
$list->add("C");
$list->add("D");
$list->add("E");

assert($collection->count() === 5);
```

[Replit](https://replit.com/@hsbmaulana/phpcollection)

Author
------

[](#author)

- Hasby Maulana ([@hsbmaulana](https://linkedin.com/in/hsbmaulana))

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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 ~89 days

Recently: every ~111 days

Total

6

Last Release

1277d ago

Major Versions

1.0.1 → 2.0.02021-10-12

PHP version history (2 changes)1.0.0PHP ^7.2

2.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38196994?v=4)[Hasby Maulana](/maintainers/hsbmaulana)[@hsbmaulana](https://github.com/hsbmaulana)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hsbmaulana-phpcollection/health.svg)

```
[![Health](https://phpackages.com/badges/hsbmaulana-phpcollection/health.svg)](https://phpackages.com/packages/hsbmaulana-phpcollection)
```

PHPackages © 2026

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