hsbmaulana/phpcollection

Data Structure and Algorithm

Maintainers

Package info

github.com/hsbmaulana/phpcollection

pkg:composer/hsbmaulana/phpcollection

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

2.2.1 2022-11-10 10:45 UTC

This package is auto-updated.

Last update: 2026-04-10 18:07:47 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