The phootwork library fills gaps in the php language and provides better solutions than the existing ones php offers.
PHP Collections library which contains ArrayList, Set, Map, Queue & Stack.
- Provide collections for php
- Inspired by java
- Functional sugar (map, filter, reduce, ...)
Installation via composer:
composer require phootwork/collection
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:
Now, run the collection test suite:
vendor/bin/phpunit --testsuite collection
If you want to run the whole library tests, simply run:
Report issues at the github Issue Tracker.
Refer to Releases