Fabien Potencier continues his look at what's coming in the next major release of the Symfony framework (v4) in this new post to his site. In it he talks about changes to the default directory structure that Symfony 4-based applications will use.
Symfony 3 came with a slightly different directory structure than Symfony 2. Symfony 4 will also come with a reworked directory structure. Mostly incremental adjustments to support new features and best practices.The Symfony 3 directory structure introduced a more standard Unix-like directory structure, with less sub-directories. Symfony 4 keeps going in that direction.
There's six changes he mentions specifically, each with a brief summary of what they'll contain:
- Tests under tests/
- Templates under templates/
- Configuration under etc/
- Source Code under src/
- Temporary files under var/
- Web files under web/
He ends the post with a quick note that, while these will be defaults, all of it is optional and these directories will be created automatically if they don't exist.