Bundle-less applications with Symfony Flex and Symfony4
So these last few days we’ve had a pretty interesting thread on twitter with @gigo6000 and @WladimirAvila about Symfony’s new directory structure, specially about Bundle Inheritance. You can check the thread here
For the ones like me that still didn’t know or haven’t read it somewhere, bundle inheritance is deprecated from Symfony 3.4 onwards, therefore it makes sense to have bundle-less applications from now on.
It turns out that bundle inheritance was rarely used anyway, except for customizing some templates. Who hasn’t inherited the FOSUserBundle before customizing just the login page? And maybe the entity for some extra attributes?
The question that I ask myself though is how are we going to customize all of this now? Not just templates, but all the config associated, services, entities, forms…
To me, one of the best things about Symfony’s magic was the ability to extend ready made bundles/vendors. Hope there’s still a way to do this!
More info on the Symfony4 directory structure here.
More info on bundle inheritence here
Originally published at Joey Masip Romeu.