Skip to content

Inspired by ruby's Enumerable module, this library allows you to create enumerables in PHP.

License

Notifications You must be signed in to change notification settings

lasso/Enumerable.php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status      Code Climate      codecov      Latest docs

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.

How to use this library in your own project

composer require lasso3000/enumerable

Code samples

Please have a look at the wiki.

How to fork/work with this library

Clone the repository

git clone https://github.com/lasso/Enumerable.php.git

Install dependencies

composer install

Run tests

vendor/bin/phpunit --bootstrap vendor/autoload.php tests

Run tests with coverage (XDebug must be installed)

vendor/bin/phpunit --bootstrap vendor/autoload.php --coverage-html=coverage --whitelist=src tests

Generate docs (will be placed in the phpdoc directory)

vendor/bin/phpdoc -d src/ -t phpdoc --template="responsive-twig"

About

Inspired by ruby's Enumerable module, this library allows you to create enumerables in PHP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages