Symfony Tips #02 - Use folders to group your Use Cases
🖥 Symfony Tips: Quick and practical tricks to develop solid backend systems.
This is OK
This is better
As your codebase grows it will became unmanageable. To solve it, divide your controller in folders and create isolated modules than can evolve independently.
Symfony tip completed 👍! Check the final code and leave a ⭐️!
Previous Tip -> Symfony Tips #01 - One Use Case → One Controller