Pipeline Power-Up: Turning Complex Logic into Simple Steps
summary
Demonstrates concrete Laravel code: the Laravel pipeline API used as middleware, sending a request or a query builder through named pipe classes; real use cases at Hospitable include calendar sync with markup and currency conversion, AI messaging composition via a value object DTO, query filters, double‑booking checks and smartlock integration that queues a job to delete codes as a saga compensation. Pattern shines when five or six steps are involved and each step is independently testable.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:04Pipeline pattern
- 3:09Why use pipelines
- 3:51Laravel pipeline API
- 6:36Laravel pipeline examples
- 7:59Syncing prices
- 10:24AI message pipelines
- 12:12Complex data operations
- 14:02Custom collections
- 15:28Query builder filtering
- 17:35Reusing pipes
- 19:02Enums for pipelines
- 20:45Saga patterns
- 23:18Compensation in sagas
- 24:04Key takeaways and closing remarks








