phootwork/collection

The phootwork library fills gaps in the php language and provides better solutions than the existing ones php offers.

Package info

github.com/phootwork/collection

Homepage

Issues

pkg:composer/phootwork/collection

Statistics

Installs: 27 755 816

Dependents: 16

Suggesters: 0

Stars: 39

v3.2.3 2022-08-27 12:51 UTC

Requires

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None


README

👁 Tests
👁 Scrutinizer Code Quality
👁 Code Coverage
👁 License
👁 Latest Stable Version
👁 Total Downloads

PHP Collections library which contains ArrayList, Set, Map, Queue & Stack.

Goals

  • Provide collections for php
  • Inspired by java java.util.Collection
  • Functional sugar (map, filter, reduce, ...)

Installation

Installation via composer:

composer require phootwork/collection

Documentation

https://phootwork.github.io/collection

Running tests

This package is a part of the Phootwork library. In order to run the test suite, you have to download the full library.

git clone https://github.com/phootwork/phootwork

Then install the dependencies via composer:

composer install

Now, run the collection test suite:

vendor/bin/phpunit --testsuite collection

If you want to run the whole library tests, simply run:

vendor/bin/phpunit

Contact

Report issues at the github Issue Tracker.

Changelog

Refer to Releases