Skip to content
Twig extensions
Branch: master
Clone or download

Latest commit

fabpot Merge pull request #269 from stof/patch-1
Remove the sentence suggesting to submit new extension
Latest commit b7e7eb0 Jan 31, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
doc minor #242 Add caution to the i18n doc about embedded vars not being … Aug 6, 2019
src Fix annotation Aug 6, 2019
test fixed CS Aug 6, 2019
.gitignore modernized the way unit tests are handled Jul 2, 2013
.php_cs.dist fixed CS Aug 6, 2019
.travis.yml fixed .travis Feb 5, 2019
LICENSE fixed LICENSE year Aug 6, 2019
README.rst Remove the sentence suggesting to submit new extension Jan 31, 2020
composer.json fixed trans node Aug 6, 2019
phpunit.xml.dist fixed CS Aug 6, 2019


Twig Extensions Repository

WARNING: This repository is abandoned in favor of Twig Core Extra extensions.

  • ArrayExtension: shuffle filter -> no equivalent
  • DateExtension: time_diff filter -> no equivalent
  • I18nExtension: trans filter -> use the trans filter from the Symfony Translator extension (symfony/twig-bridge)
  • IntlExtension: localizeddate, localizednumber, localizedcurrency filters: use the Twig intl extra extension: format_date, format_number, format_currency, ...
  • TextExtension: truncate, wordwrap filters: use the Twig string extra extension: u filter

This repository hosts Twig Extensions that do not belong to the core but can be nonetheless interesting to share with other developers.

More Information

Read the documentation for more information.

You can’t perform that action at this time.