league/pipeline
League\Pipeline provides a lightweight, immutable implementation of the Pipeline pattern for PHP. Compose sequential processing stages (any callable or invokable class) and pass a payload through each stage in order, producing a final result.
Architecture fit: Excellent for Laravel service layers where sequential business logic needs modularization (e.g., order processing, data transformation). Complements but doesn't replace Laravel's HTTP middleware – targets non-HTTP workflows where command bus or service objects would otherwise have monolithic methods.
Integration feasibility: Extremely high. Pure PHP library with no Laravel dependencies; composer require suffices. Works seamlessly with Laravel's service container for dependency injection
How can I help you explore Laravel packages today?