Getting the most out of Symfony4
summary
Symfony4 claims roughly 300 feature-related changes (with ~148 more slated for 4.1) and shows concrete shifts: a bundle-less app layout with Kernel in src, runtime-resolved env vars via a .env loader, and improved dependency injection with Autowiring and action injection for controllers. Symfony Flex is a Composer plug-in that runs recipes to add packages, write config files and a symfony.lock so installs (for example Doctrine plus YAML config) are applied and reversible. Symfony Flex makes skeleton → app reproducible.
AI-written summary · about
chapters (16)
- 0:00Start
- 4:37Directories
- 10:11Controller Names
- 10:41Compiler Passes
- 14:39Adding Doctrine
- 17:02Removing Doctrine
- 17:52Full Standard App
- 18:27Environment Variables
- 21:20Enter the DotEnv Component
- 26:07Manual Service Config
- 26:37Classnames as Service Names
- 27:59Autowiring
- 28:21Service Discovery
- 28:58Setting Defaults
- 30:03Binding and Named Arguments
- 32:36Controllers








