functional


No replacement provided. Contact us if you know a replacement.

Functional primitives for PHP

A number of functional primitives like map(), select(), each() for the PHP language

Maintainer

  • Lars Strojny (lead )

Details

Stars: 1964
Issue openned: 16
Downloads: 8980
0.0.5
12 years ago
Version 0.0.5 change log


- Renamed all() to every() and any() to some()
- Added drop_first() and drop_last()
- Fixed property access with pluck()
- pluck() now works with associative arrays
- Added partition()
- Added group()
- Added flatten()
- Added first() and last()
- Added product(), sum(), ratio(), difference()
- Added unique()
- Fixed a lot of memory leaks

requires:

  • php >=5.3
  • pearinstaller >=1.4.3