Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Base bundle for Symfony Distributions
PHP Shell

Merge branch '4.0'

* 4.0:
  bumped security-checker to 3.0 to avoid curl dependency
latest commit af706a3f8c
@fabpot fabpot authored



SensioDistributionBundle provides useful developer features that can be re-used amongst several Symfony Distributions.

Composer Hooks

The bundle hooks up into the Composer process to automate the following actions when running an install or an update:

  • Update the bootstrap.php.cache file (and clears the cache);
  • Install the assets under the web root directory;
  • Update the requirements file;
  • Switch to the Symfony 3.0 directory structure by setting the SENSIOLABS_ENABLE_NEW_DIRECTORY_STRUCTURE environment variable to true (and only when creating a new project).


The bundle includes the SensioLabs Security Checker. When included in a Symfony application, the check is available:

$ ./app/console security:check
Something went wrong with that request. Please try again.