sergigp/funiculus

some clojure ideas implemented in PHP

0.1 2014-08-29 20:23 UTC

This package is not auto-updated.

Last update: 2024-04-09 05:11:12 UTC


README

#Funiculus

Build Status

Funiculus is a port of some Clojure functions and ideas to PHP for manage collections.

Funiculus is forged with some principles in mind:

  • A collection can be any iterable PHP object, arrays or generators.
  • Play with generators when it's possible.
  • Work with closures (some syntactic sugar for operator available sacrificing some performance).
  • Composition.
  • Immutabilty.
  • Simplicity over easiness.

This project is strongly inspired by pablodip/felpado and nikic/iter.

##Use

Install through composer:

composer require sergigp/funiculus:~0.1

Use and enjoy!

use Sergigp\Funiculus as f;

##Functions

You can see available functions

##Author

Sergi GP - sergigp85@gmail.com

##License

Funiculus is licensed under the MIT License.