Domain-Driven Design with Laravel is the complete guide to mastering DDD the Laravel way. The book covers topics
Simplifying ugly controllers with the help of ActionsLeaning out your models with Custom Query BuildersUsing View Models to query data for a specific pageWriting very high-level code with Custom CollectionsGetting rid of random arrays like $data using Value Objects and DTOsRemoving annoying status strings like draft or approved with States and TransitionsStructuring your code using Domains and ApplicationsApplying CQRS in the most simple yet effective form…And much moreAll of the above by building a complex, real-world application. No “hello world” or “smells like a Youtube tutorial” examples. We will implement an e-mail marketing application such as ConvertKit or MailChimp, to be more precise.
This book is very clear for understanding ddd. Also he is using a lot of best practice. He have solved some complexity (crqs, ..) by some laravel features.