lambdish/phunctional
lambdish/phunctional is a functional programming toolkit for PHP and Laravel. It offers immutable collections, Option and Either types, currying, function composition, memoization, and pipeline helpers, making it easier to write expressive, side-effect-aware code without leaving familiar PHP.
Phunctional is a lightweight functional programming library for PHP. It offers composable higher-order functions and immutable collection utilities that make data transformations expressive and predictable while staying idiomatic and dependency-free.
compose and pipemap, filter, and reduceHow can I help you explore Laravel packages today?