Centralized monorepository for functional libraries
2.0.1 2020-11-22 21:17 UTC
Library can be installed into any PHP application:
$ composer require phpfn/phpfn
In order to access library make sure to include
in your file.
<?php require __DIR__ . '/vendor/autoload.php';
This package includes
phpfn/curryis an implementation of currying and partial application.
phpfn/immutableis a little helper to ensure object immutability.
phpfn/pipefor the ability to use a sequence of functions as a chain.
phpfn/placeholderis a placeholder (looks like that:
_) symbol implementation.
phpfn/symbolfor the ability to create unique identifiers within the system.