24hoursmedia/twig-extension-bundle

Symfony 2 twig extension bundle

Installs: 225

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/24hoursmedia/twig-extension-bundle

v0.2.3.2 2016-12-09 16:13 UTC

This package is not auto-updated.

Last update: 2025-09-25 12:19:03 UTC


README

symfony twig extensions bundle

installation

Through composer in your symfony project:

composer require 24hoursmedia/twig-extension-bundle

Then, register the bundle in your AppKernel by adding the following line:

new T4\Bundle\TwigExtensionBundle\T4TwigExtensionBundle()

twig extensions

google analytics filters

  • filter to add google campaign information to links

read ga_extension docs

validator filters

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

read validator_extension docs