Download the PHP package kilbiller/fphp without Composer
On this page you can find all versions of the php package kilbiller/fphp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kilbiller/fphp
More information about kilbiller/fphp
Files in kilbiller/fphp
Download kilbiller/fphp
More information about kilbiller/fphp
Files in kilbiller/fphp
Vendor kilbiller
Package fphp
Short Description A set of auto-curried immutable data-last functions for PHP. Inspired by lodash/fp.
License MIT
Package fphp
Short Description A set of auto-curried immutable data-last functions for PHP. Inspired by lodash/fp.
License MIT
Please rate this library. Is it a good library?
Informations about the package fphp
fphp
A set of auto-curried immutable data-last functions for PHP. Inspired by lodash/fp.
Requires php >= 7.0
Why use this ?
- Functions are curried and take data as their last argument so you can easily compose them.
- Enables you to do point-free programming.
- All functions are immutable and have similar interfaces: iteratee-first, data-last with the rest of the parameters in between.
How to install
Pro tips
- Functions with an arity of one are also curried so you can avoid using a callable to compose them:
Tests
To run the tests simply do . You can also check code coverage by running .
Functions
- Collections
- join
- filter
- reject
- map
- reduce
- flatten
- flatMap
- every
- none
- find
- zip
- reverse
- some
- first
- last
- uniq
- uniqWith
- prop
- Function composition
- flow
- compose
- Currying
- curry
- curry1
- curry2
- curry3
- curryN
- Logic
- not
- Functions
- negate
- flip
- Extras
- identity
- concat
All versions of fphp with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package kilbiller/fphp contains the following files
Loading the files please wait ....