newism / nsm-twig-extensions-bundle
This package is abandoned and no longer maintained.
No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.
Package info
github.com/newism/NSMTwigExtensionsBundle
Type:symfony-bundle
pkg:composer/newism/nsm-twig-extensions-bundle
dev-master
2012-07-22 06:54 UTC
Requires
This package is auto-updated.
Last update: 2019-02-28 14:45:46 UTC
README
** Not stable **
Twig Extensions used in Newism projects.
This bundle should be used in conjunction with Symfony2.
Installation
Step 1: Download NSMTwigExtensionsBundle using composer
Add NSMTwigExtensionsBundle in your composer.json:
{
"require": {
"newism/nsm-twig-extensions-bundle": "*"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update newism/twig-extensions-bundle
Composer will install the bundle to your project's vendor/bundles/NSM directory.
Add NSMTwigExtensionsBundle to your application kernel
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new NSM\Bundle\NSMTwigExtensionsBundle\NSMTwigExtensionsBundle() ); }
Make the Twig extensions available by updating your configuration
# app/config/config.yml nsm_twig_extensions: ~