PHP MIT

intl-extra

A Twig extension for Intl

T

twigphp

Dernière activité 25 sept. 2026
twigphp/intl-extra

360

étoiles

25

forks

3

issues ouvertes

intlphptemplatingtwig

Ce README est souvent en anglais.

Twig Intl Extension

This package is a Twig extension that provides the following:

  • country_name filter: returns the country name given its two-letter/five-letter code;
  • currency_name filter: returns the currency name given its three-letter code;
  • currency_symbol filter: returns the currency symbol given its three-letter code;
  • language_name filter: returns the language name given its two-letter/five-letter code;
  • locale_name filter: returns the language name given its two-letter/five-letter code;
  • timezone_name filter: returns the timezone name given its identifier;
  • country_timezones filter: returns the timezone identifiers of the given country code;
  • format_currency filter: formats a number as a currency;
  • format_number filter: formats a number;
  • format_datetime filter: formats a date time;
  • format_date filter: formats a date;
  • format_time filter: formats a time;
  • format_list filter: formats a list of strings as a single, locale-aware string.

Projets similaires

Provides tools to internationalize your application

PHPcomponentphpsymfony
Ssymfony
6,6 k étoiles90

Provides access to the localization data of the ICU library

PHPcomponenti18nicu
Ssymfony
2,6 k étoiles53

A Symfony bundle for extra Twig extensions

PHPbundleextraphp
Ttwigphp
902 étoiles21