PHP frameworks (Laravel, Symfony) are built on classic design patterns — reusable solutions to common design problems. Recognizing them helps you understand how frameworks work and write better-structured code yourself.
MVC (Model-View-Controller) — the architectural foundation
Model → data + business logic (e.g. Eloquent models)
View → presentation (templates: Blade, Twig)
Controller → handles requests, coordinates models & views
→ The structural pattern of nearly every PHP web framework.
Dependency Injection / IoC Container
= ->(::);
