Laravel Pipelines can clean up a multi-step process and make your code more testable. @ashallendesign.bsky.social has a nice guide here: https://ashallendesign.co.uk/blog/laravel-pipeline The image shows a somewhat contrived example of refactoring to pipelines.
Post image

Comments