Software Architecture
Building Maintainable PHP Applications: Architectures
About the author
Davor MinchorovBy now you understand why codebases rot (Foundations) and you have a toolkit of patterns and habits (Patterns and Principles). This course is where we step back and talk about the shape of the whole application.
We'll walk through Hexagonal Architecture, Clean Architecture and Vertical Slices, compare what each one is actually trying to solve, and be honest about where each one hurts. We'll also split the HTTP edge with Action-Domain-Responder. Then we'll live with the decision: where framework code is allowed to sit, how to test on both sides of a boundary, how to draw module lines inside a monolith, and how to pick a different style for a different module in the same application.
Then we'll migrate a legacy Laravel application toward these architectures without a full rewrite, and finish with a capstone that restructures Hearth, the hotel booking app the course builds on, around ports, slices and modules.