2017 © Pedro Peláez
 

symfony-bundle twig-extension-bundle

Symfony 2 twig extension bundle

image

24hoursmedia/twig-extension-bundle

Symfony 2 twig extension bundle

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

twig-bundle

symfony twig extensions bundle, (*1)

installation

Through composer in your symfony project:, (*2)

composer require 24hoursmedia/twig-extension-bundle

Then, register the bundle in your AppKernel by adding the following line:, (*3)

new T4\Bundle\TwigExtensionBundle\T4TwigExtensionBundle()

twig extensions

google analytics filters

  • filter to add google campaign information to links

read ga_extension docs, (*4)

validator filters

  • apply symfony validator on data and return errors as an array for use in twig

read validator_extension docs, (*5)

The Versions