nunomaduro/curryable
Laravel package by Nuno Maduro that lets you curry class methods, so multi-argument calls become chainable partial applications. Add the Curryable trait and call methods step by step, e.g. Calculator::add(1)(2), for cleaner functional-style PHP.
None
|
Package
|
Constraint
|
|---|---|
| pestphp/pest | ^0.3 |
| phpstan/phpstan | ^0.12 |
How can I help you explore Laravel packages today?