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.
Curryable is a lightweight PHP package by Nuno Maduro that brings function currying to Laravel and standalone PHP projects. It converts multi-argument callables into chains of single-argument functions, making partial application and reusable function pipelines cleaner and more expressive.
How can I help you explore Laravel packages today?