lstrojny/functional-php
Functional PHP adds a rich set of functional programming helpers for PHP: map/filter/reduce, partial application, currying, composition, and collections utilities. Write cleaner, more declarative code without changing your framework or coding style.
entries and from_entries, similar to JavaScript's Object.entries and Object.fromEntries by @someonewithpc in https://github.com/lstrojny/functional-php/pull/243Full Changelog: https://github.com/lstrojny/functional-php/compare/1.17.0...1.18.0
pick() with null values in arrays #217Adds support for PHP 8.
Warning: Functional\match is not available in PHP 8. Please use Functional\matching instead.
How can I help you explore Laravel packages today?