twig/extensions

Common additional features for Twig that do not directly belong in core

Installs: 38 958 539

Dependents: 953

Suggesters: 23

Security: 0

Stars: 1 430

Watchers: 39

Forks: 283

Open Issues: 0

v1.5.4 2018-12-05 18:34 UTC

README

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.

Fork this repository, add your extension, and request a pull.

More Information

Read the documentation for more information.