hsbmaulana/phpcollection

Data Structure and Algorithm

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/hsbmaulana/phpcollection

2.2.1 2022-11-10 10:45 UTC

This package is auto-updated.

Last update: 2025-12-10 17:34:03 UTC


README

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

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

Author