widmogrod/php-functional
Functional programming toolkit for PHP with immutable data structures, monads and typed abstractions. Includes Option/Either/Try, collections, pattern matching, and helpers for safer, composable code. Useful for DDD, CQRS and FP-style application architecture.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| graham-campbell/result-type | 0.81 | Lightweight PHP Result type implementation for explicit success/failure returns. Provides Ok/Err-style results to avoid exceptions and clarify control flow. Compatible with PHP 7.2.5–8.5; install via Composer. | 548 | 551 | 10 | 11M | 0 | 26.0 | 65.0 | MIT | 3 months ago | |
| anahkiasen/underscore-php | 0.81 | Underscore.php brings functional helpers to PHP inspired by Underscore.js. Chainable, collection and array utilities like map, filter, reduce, groupBy, sortBy, pluck, and more. Handy for concise data manipulation in any PHP project, including Laravel. | 1,111 | — | 89 | — | 29 | 8.8 | 8.7 | — | — | |
| laragraph/utils | 0.80 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 21 | 21 | 7 | 502K | 0 | 25.1 | 65.0 | MIT | 1 month ago | |
| php-standard-library/fun | 0.79 | Functional programming utilities for PHP: compose and pipe callables, decorate functions, and control execution (memoize, throttle, debounce, retry, etc.). Part of PHP Standard Library with focused, reusable helpers for cleaner functional-style code. | 1 | 0 | 0 | 3K | 0 | 20.6 | 51.3 | MIT | 2 weeks ago | |
| michelf/php-smartypants | 0.79 | PHP port of John Gruber’s SmartyPants: converts plain ASCII punctuation into typographically correct “smart” quotes, dashes, and ellipses. Useful for cleaning up HTML output from Markdown or other text sources, with configurable transformation options. | 111 | 115 | 23 | 158K | 2 | 2.0 | 44.9 | NOASSERTION | — | |
| phootwork/collection | 0.79 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 39 | 40 | 4 | 980K | 0 | 28.1 | 65.0 | MIT | 1 year ago | |
| webimpress/coding-standard | 0.79 | Opinionated PHP_CodeSniffer rules from Webimpress for consistent PHP style. Extends common standards, adds project conventions, and ships with ready-to-use configs for enforcing formatting and best practices across your codebase. | 14 | 14 | 7 | 62K | 5 | 29.2 | 61.9 | BSD-2-Clause | 1 year ago | |
| functional-php/fantasy-land | 0.79 | Fantasy Land–style algebraic structures for PHP to enable interoperable functional patterns. Includes interfaces for Setoid, Semigroup/Monoid, Functor, Applicative, Monad, Foldable/Traversable, plus ready-made law/property tests to verify implementations. | 38 | 39 | 12 | 194K | 2 | 21.5 | 61.0 | BSD-3-Clause | 8 years ago | |
| devster/ubench | 0.79 | Ultra small PHP benchmarking library with a simple API to time code, measure memory usage, run iterations, and print readable results. Great for quick micro-benchmarks in scripts, tests, and CLI tools without dependencies. | 563 | 570 | 70 | 7K | 2 | 26.0 | 18.6 | — | 6 years ago | |
| nunomaduro/phpinsights | 0.79 | PHP Insights is a terminal tool to analyze PHP code quality, style, architecture, and complexity. Works out of the box with Laravel (artisan insights), Symfony, Yii, Magento, and more, with built-in checks for reliability and loose coupling. | 5,591 | 5,593 | 294 | 292K | 68 | 77.0 | 55.2 | MIT | 1 month ago | |
| joomla/utilities | 0.78 | Joomla Utilities provides lightweight helper classes for common tasks, including ArrayHelper methods to cast arrays to integers, convert arrays to objects/strings, and extract arrays from objects—handy utilities for PHP apps and Joomla Framework projects. | 3 | 4 | 11 | 20K | 1 | 21.9 | 60.0 | GPL-2.0 | 8 months ago |
How can I help you explore Laravel packages today?