functional-php/fantasy-land
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | — | |
| widmogrod/php-functional | 0.79 | 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. | 367 | 372 | 32 | 192K | 7 | 29.0 | 46.9 | MIT | 1 year ago | |
| php-standard-library/fun | 0.76 | 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 | |
| league/config | 0.75 | Define and validate nested PHP configuration with strict schemas (via Nette Schema). Merge multiple config sources, apply defaults, enforce types/constraints, and read values using convenient dot notation. Ideal for robust, structured app and library config. | 564 | 573 | 19 | 9M | 0 | 25.3 | 65.9 | BSD-3-Clause | 3 years ago | |
| nette/schema | 0.74 | nette/schema is a small PHP library for validating and normalizing structured data. Define schemas for arrays, configuration, and user input with type checks, defaults, required fields, ranges, and clear error messages—ideal for safe config loading. | 1,003 | 1,008 | 29 | 10M | 8 | 33.0 | 68.1 | NOASSERTION | 1 month ago | |
| mll-lab/graphql-php-scalars | 0.69 | Custom scalar types for webonyx/graphql-php, including BigInt, Date/DateTime/DateTimeTz, Email, JSON, and IntRange for bounded integers. Drop-in types for schema definitions with strict parsing and DateTimeImmutable conversion for date scalars. | 147 | 139 | 14 | 133K | 0 | 29.9 | 48.0 | MIT | 9 months ago | |
| ml/json-ld | 0.69 | Fully conforming JSON-LD processor for PHP. Implements the official JSON-LD API (expand, compact, frame, flatten, toRdf), passes the W3C test suite, supports advanced framing features, and includes N-Quads serialization/parsing. | 337 | 344 | 63 | 228K | 28 | 12.2 | 48.5 | MIT | — |
How can I help you explore Laravel packages today?