dev-master
9999999-dev https://github.com/newism/NSMTwigExtensionsBundle
The Requires
twig extensions symfony2
** Not stable **, (*1)
This bundle should be used in conjunction with Symfony2., (*2)
Add NSMTwigExtensionsBundle in your composer.json:, (*3)
{ "require": { "newism/nsm-twig-extensions-bundle": "*" } }
Now tell composer to download the bundle by running the command:, (*4)
``` bash $ php composer.phar update newism/twig-extensions-bundle, (*5)
Composer will install the bundle to your project's `vendor/bundles/NSM` directory. ## Add NSMTwigExtensionsBundle to your application kernel ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new NSM\Bundle\NSMTwigExtensionsBundle\NSMTwigExtensionsBundle() ); }
``` yaml, (*6)
nsm_twig_extensions: ~ ```, (*7)
twig extensions symfony2