Symfony3 is coming soon and with it a handful of wonderful changes and restructuring to the core directory structure of a symfony app.

The new directory structure has a number of benefits, all of which are minor and may require minimal changes to your workflow.


phpunit can now be run from the project root without having to explicitly specify the path of the configuration file.

Binary Executables

All binary executable files are now all located in a single location – the bin directory.

This simplifies things also so on a *NIX machine you can configure your $PATH to simplify calling repeatable commands.

A new /var directory

The new /var directory contains the files to which the system writes data to during the course of its operation; this replaces/moves cache and logs from the app directory.

This also makes it easier to add permissions, the entire /var directory should be writable by your webserver (apache, nginx, etc).

Symfony requirements check

Running symfony_requirements will output mandatory & optional environment configurations.


Most of the credit for this post belongs to justAnil @ StackOverflow for his amazing write-up.

Categories: Random

1 Comment

Symfony3 is Coming | JAKE LITWICKI · August 4, 2015 at 4:10 pm

[…] see my other post on Symfony3 directory structure changes in more […]

Leave a Reply

Your email address will not be published. Required fields are marked *