Jeff Ochoa wrote a nice walkthrough of one of Laravels lesser known functionalities: pipelines.

Basically, using laravel pipelines you can pass an object between several classes in a fluid way to perform any type of task and finally return the resulting value once all the “tasks” have been executed.

https://medium.com/@jeffochoa/understanding-laravel-pipelines-a7191f75c351