zenstruck/callback
Tiny PHP utility for building and composing callbacks/closures with a fluent API. Helps wrap callables, bind arguments, decorate or chain behavior, and safely invoke functions and methods—handy for middleware-style pipelines, event hooks, and reusable functional helpers.
eed9a53 [minor] remove scrutinizer badge by @kbond
6bd1c49 [minor] remove scrutinizer (#8) by @kbond
68747ed [feature] add Callback::function() (#8) by @kbond
d8b7878 [feature] support intersection type support (#8) by @kbond
319fb96 [minor] improve output of Callback::__toString() (#8) by @kbond
68e8468 [minor] small perf optimizations (#8) by @kbond
declare(strict_types=1) (Kevin Bond)Initial release.
How can I help you explore Laravel packages today?