Symfony 4 best practices (Part 2)
summary
Symfony 4 compiles an reproducible container so cache:clear yields identical generated PHP for the same config, and swapping cache from filesystem to Redis produces concrete factory classes showing the real wiring. Configuration separates infrastructure from behavior: use environment variables for infra and parameters for app logic, and chain env var processors (e.g. file:resolve:json) to load secrets from files or vaults. The workflow uses Flex + maker for entities, migrations and fixtures, encourages API Platform and webpack encore, and recommends bcrypt/argon and voters for security.
AI-written summary · about
related talks
34mSymfony 4: A new Way to develop Applications
28mA dive into Symfony4 for a Symfony user
34mGetting the most out of Symfony4
02h 23mMastering Symfony 4's Dependency Injection
40mDeep dive into Symfony 4 internals
42mSymfony Cache: a premium recipe to fast apps
01h 00mStandardization, the Symfony Way
23mSf Cache Component: Speed Up Your App with a New Cache Layer
