Refactoring Towards Clean Architecture
In this workshop, I’ll share practical knowledge we’ve developed at Printify over the past three years, where we transformed a large legacy Symfony project into a clean architecture and built two more greenfield applications following the same principles.
Thanks to Clean Architecture, our Symfony-based services became highly maintainable, adaptable to change, and remarkably stable, even during high-load periods like the Holiday Season.
But what is Clean Architecture?
It's a set of architectural patterns and principles designed to help you build software that is:
- maintainable in the long term,
- resilient to both technological and business change,
- scalable and cost-efficient,
- and structured in a way that enables productive team collaboration.
This workshop will be fully hands-on and Symfony-specific. We’ll work on a Symfony-based RealWorld Example Conduit app that has been intentionally written in a “framework way”. Together, we will:
- audit the application and identify key architectural pain points,
- design a Clean Architecture foundation tailored to Symfony's ecosystem,
- refactor the application incrementally and safely, applying principles such as Dependency Inversion and boundary separation.
By the end of the session, you'll have a clear roadmap for applying Clean Architecture principles to existing Symfony projects, regardless of how messy the starting point is.
Prerequisites:
- Basic understanding of SOLID principles (especially Dependency Inversion and Liskov Substitution),
- Experience with Symfony's DependencyInjection component,
- Docker is installed and a local PHP 8.3 environment.
Join me for a practical dive into architectural transformation and elevate the quality of your Symfony applications!
Starts at 9:30 AM
Check out the other workshops from SymfonyCon Amsterdam 2025 conference.