Symfony 4: Directory Structure, and Common Practices
Fabien has published his plans for the new Symfony 4 directory structure. Not that it matters much to anyone in Symfony-land, where I have no status that I’m aware of, but I am happy to see the changes described.
Having said that, and recognizing that Fabien obviously has final say over his own projects …
The new etc/ directory is the equivalent of the current app/config/ directory.
…
Web files under web/
… it might be nice if Symfony 4 adopted more existing common practices, used by roughly 70% of Packagist packages. That is, to use config/
for the top-level config directory, and public/
for the top-level document-root directory.
More specifically:
As a side note, that research resulted in the pds/skeleton
publication.
(This blog post originated as a comment on Reddit.)
Read the Reddit discussion about this post here.