twig / intl-extra
A Twig extension for Intl
v4.0.0-alpha1
2026-01-17 14:17 UTC
Requires
- php: >=8.2
- symfony/intl: ^5.4|^6.4|^7.0|^8.0
- twig/twig: ^3.13|^4.0
This package is auto-updated.
Last update: 2026-05-30 13:51:31 UTC
README
This package is a Twig extension that provides the following:
country_namefilter: returns the country name given its two-letter/five-letter code;currency_namefilter: returns the currency name given its three-letter code;currency_symbolfilter: returns the currency symbol given its three-letter code;language_namefilter: returns the language name given its two-letter/five-letter code;locale_namefilter: returns the language name given its two-letter/five-letter code;timezone_namefilter: returns the timezone name given its identifier;country_timezonesfilter: returns the timezone identifiers of the given country code;format_currencyfilter: formats a number as a currency;format_numberfilter: formats a number;format_datetimefilter: formats a date time;format_datefilter: formats a date;format_timefilter: formats a time.