phpfn / Phpfn
Licence: mit
Functional PHP Toolstet: Centralized monorepository for all libraries
Stars: ✭ 19
Projects that are alternatives of or similar to Phpfn
transmute
kind of like lodash but works with Immutable
Stars: ✭ 35 (+84.21%)
Mutual labels: immutable, functional
peds
Type safe persistent/immutable data structures for Go
Stars: ✭ 57 (+200%)
Mutual labels: immutable, functional
grand central
State-management and action-dispatching for Ruby apps
Stars: ✭ 20 (+5.26%)
Mutual labels: immutable, functional
Html
A Virtual DOM based templating-engine for PHP
Stars: ✭ 86 (+352.63%)
Mutual labels: immutable, functional
venum
Verifiably better, validated Enum for Python
Stars: ✭ 31 (+63.16%)
Mutual labels: immutable, functional
Pyrsistent
Persistent/Immutable/Functional data structures for Python
Stars: ✭ 1,621 (+8431.58%)
Mutual labels: immutable, functional
Babel Plugin Partial Application
[DEPRECATED] Please use https://github.com/citycide/param.macro
Stars: ✭ 60 (+215.79%)
Mutual labels: functional, placeholder
finger-tree
🌵 Finger tree data structure for JavaScript
Stars: ✭ 20 (+5.26%)
Mutual labels: immutable, functional
fastener
Functional Zipper for manipulating JSON
Stars: ✭ 54 (+184.21%)
Mutual labels: immutable, functional
Immutable Tuple
Immutable finite list objects with constant-time equality testing (===) and no memory leaks.
Stars: ✭ 29 (+52.63%)
Mutual labels: immutable, functional
Typed Immutable
Immutable and structurally typed data
Stars: ✭ 263 (+1284.21%)
Mutual labels: immutable, functional
Partial.lenses
Partial lenses is a comprehensive, high-performance optics library for JavaScript
Stars: ✭ 846 (+4352.63%)
Mutual labels: immutable, functional
Param.macro
Partial application syntax and lambda parameters for JavaScript, inspired by Scala's `_` & Kotlin's `it`
Stars: ✭ 170 (+794.74%)
Mutual labels: functional, placeholder
js-data-structures
🌿 Data structures for JavaScript
Stars: ✭ 56 (+194.74%)
Mutual labels: immutable, functional
treecko
A collection of functional and immutable helpers for working with tree data structures.
Stars: ✭ 31 (+63.16%)
Mutual labels: immutable, functional
Switzerland
🇨🇭Switzerland takes a functional approach to Web Components by applying middleware to your components. Supports Redux, attribute mutations, CSS variables, React-esque setState/state, etc… out-of-the-box, along with Shadow DOM for style encapsulation and Custom Elements for interoperability.
Stars: ✭ 261 (+1273.68%)
Mutual labels: immutable, functional
Fpp
Functional PHP Preprocessor - Generate Immutable Data Types
Stars: ✭ 282 (+1384.21%)
Mutual labels: immutable, functional
Rust Ipfs
The InterPlanetary File System (IPFS), implemented in Rust.
Stars: ✭ 739 (+3789.47%)
Mutual labels: immutable
Functional PHP
Installation
Library can be installed into any PHP application:
$ composer require phpfn/phpfn
In order to access library make sure to include vendor/autoload.php
in your file.
<?php
require __DIR__ . '/vendor/autoload.php';
Usage
This package includes
-
phpfn/curry
is an implementation of currying and partial application. -
phpfn/immutable
is a little helper to ensure object immutability. -
phpfn/pipe
for the ability to use a sequence of functions as a chain. -
phpfn/placeholder
is a placeholder (looks like that:_
) symbol implementation. -
phpfn/symbol
for the ability to create unique identifiers within the system.
See Also
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].