all the things. The default installation of symfony 4 doesn’t include Doctrine, Twig, Swiftmailer, translations, validation or even sessions! It won’t be quite so fast or lightweight once you add all of that back.
services ◦ Removal of unused services ◦ Inline trivial private services (#23674) • Generate one file per service factory (#23678) • Inline references to class constants (#25474)
• Optimise grouping of similar routes (#21926) • Check the uniqueness of routes only once (#24556) Most routing optimisations are only noticeable for applications with a large number of routes (>500)