, (*1)
lasso3000/enumerable
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., (*2)
How to use this library in your own project
composer require lasso3000/enumerable, (*3)
Code samples
Please have a look at the wiki., (*4)
How to fork/work with this library
Clone the repository
git clone https://github.com/lasso/Enumerable.php.git, (*5)
Install dependencies
composer install, (*6)
Run tests
vendor/bin/phpunit --bootstrap vendor/autoload.php tests, (*7)
Run tests with coverage (XDebug must be installed)
vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-html=coverage --whitelist=src tests, (*8)
Generate docs (will be placed in the phpdoc directory)
vendor/bin/phpdoc -d src/ -t phpdoc --template="responsive-twig", (*9)