dev-master
9999999-devHĂ©Ă©HĂ©Ă©Ă©Ă©h...
MIT
The Requires
- php >=5.3.2
- symfony/framework-bundle >=2.3
by CĂ©dric Dugat
HĂ©Ă©HĂ©Ă©Ă©Ă©h...
, (*1)
=====, (*2)
Add this into your composer.json
:, (*3)
``` json "require-dev": { // ... "sly/francois-bundle" : "dev-master" },, (*4)
And run `php composer.phar update sly/francois-bundle`. Register the bundle in your AppKernel (`app/AppKernel.php`), only for dev environment (of course...). ``` php // ... if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new Sly\FrancoisBundle\SlyFrancoisBundle(); }
Finally, override some dev views with adding it into your composer.json
file
(a sexy command-way will be implemented soon):, (*5)
``` json // ... "scripts": { "post-install-cmd": [ // ... "ln -sf ../../vendor/sly/francois-bundle/Sly/FrancoisBundle/Resources/TwigBundle app/Resources/TwigBundle" ], "post-update-cmd": [ // ... "ln -sf ../../vendor/sly/francois-bundle/Sly/FrancoisBundle/Resources/TwigBundle app/Resources/TwigBundle" ] }, // ..., (*6)
## Configuration reference ``` yaml sly_francois: twig: exception: video: true
=====, (*7)
HĂ©Ă©HĂ©Ă©Ă©Ă©h...
MIT