Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.12 KB

README.rst

File metadata and controls

40 lines (26 loc) · 1.12 KB

SensioDistributionBundle

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;
  • Updated the requirements file;
  • Install the Acme Demo bundle by setting the SENSIOLABS_FORCE_ACME_DEMO environment variable to true (and only when creating a new project);
  • 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).

Web Configurator

The bundle provides a web configurator to ease the setup of a Symfony project via a simple web interface.

Security

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

$ ./app/console security:check