Darryl Hein
Darryl Hein

Reputation: 145027

Should I use the new Symfony 4 file structure with 3.3 & 3.4?

I'm wondering if it makes sense to use the Symfony 4 file structure (as described in Fabian's post) for projects running Symfony 3.3 and 3.4?

The Architecture page in the documentation for 3.3, 3.4 and 4.0 all show the version 3.* directory structure so I'm not sure where the canonical information is and thus I'm not 100% sure it's either a good idea nor what the "final" decision is.

Upvotes: 2

Views: 459

Answers (1)

jkucharovic
jkucharovic

Reputation: 4244

Yes, it is good idea – if you plan to start using Symfony Flex (the next big thing in Symfony world), the directory structure used Symfony 4 is required. Last version of Symfony Standard Edition will be 3.4, so if you want your application to keep up to date, it's better choice to start use that structure now, than moving and review tens (or hundreds) of files later.

Documentation is not yet updated – current master version (4.0) is just clone of 3.4.

Upvotes: 3

Related Questions