.. toctree:: :hidden: text i18n intl array date
The Twig Extensions is a library that provides several useful extensions for Twig. You can find it's code at GitHub.com/twigphp/Twig-extensions.
This library can be installed via Composer running the following from the command line:
composer require twig/extensions
- :doc:`Text <text>`: Provides useful filters for text manipulation;
- :doc:`I18n <i18n>`: Adds internationalization support via the
- :doc:`Intl <intl>`: Adds a filter for localization of
DateTimeobjects, numbers and currency;
- :doc:`Array <array>`: Provides useful filters for array manipulation;
- :doc:`Date <date>`: Adds a filter for rendering the difference between dates.