Inspired by ruby's Enumerable module, this library allows you to create enumerables in PHP. It is similar in function to Knapsack, but tries to stay a bit closer to ruby in naming and spirit.
composer require lasso3000/enumerable
Please have a look at the wiki.
git clone https://github.com/lasso/Enumerable.php.git
composer install
vendor/bin/phpunit --bootstrap vendor/autoload.php tests
vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-html=coverage --whitelist=src tests
vendor/bin/phpdoc -d src/ -t phpdoc --template="responsive-twig"