2017 © Pedro Peláez
 

symfony-bundle twig-extensions-bundle

Add some functions and filters to twig

image

nmb/twig-extensions-bundle

Add some functions and filters to twig

  • Monday, August 5, 2013
  • by Badji
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

NmbTwigExtensionsBundle

Some Twig functions and filters i wanna use on my symfony projects, (*1)

Installation

Add NmbTwigExtensionsBundle to your composer.json, (*2)

{
    "require": {
        "nmb/twig-extensions-bundle": "dev-master"
    }
}

Download the bundle by runung the command ``` bash $php composer.phar update nmb/twig-extensions-bundle, (*3)


Add the bundle to your app/AppKernel.php ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Nmb\TwigExtensionsBundle\NmbTwigExtensionsBundle(), ); }

Usage

In your twig template twig {{ getParameter('my_parameter') }}, (*4)

The Versions

05/08 2013

dev-master

9999999-dev

Add some functions and filters to twig

  Sources   Download

MIT

The Requires

 

twig extension filters parameters

05/08 2013

1.0.0

1.0.0.0

Add some functions and filters to twig

  Sources   Download

MIT

The Requires

 

twig extension filters parameters