File: README.md

package info (click to toggle)
php-twig 3.20.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,940 kB
  • sloc: php: 23,320; makefile: 110; sh: 43
file content (30 lines) | stat: -rw-r--r-- 1,546 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Twig Intl Extension
===================

This package is a Twig extension that provides the following:

 * [`country_name`][1] filter: returns the country name given its two-letter/five-letter code;
 * [`currency_name`][2] filter: returns the currency name given its three-letter code;
 * [`currency_symbol`][3] filter: returns the currency symbol given its three-letter code;
 * [`language_name`][4] filter: returns the language name given its two-letter/five-letter code;
 * [`locale_name`][5] filter: returns the language name given its two-letter/five-letter code;
 * [`timezone_name`][6] filter: returns the timezone name given its identifier;
 * [`country_timezones`][7] filter: returns the timezone identifiers of the given country code;
 * [`format_currency`][8] filter: formats a number as a currency;
 * [`format_number`][9] filter: formats a number;
 * [`format_datetime`][10] filter: formats a date time;
 * [`format_date`][11] filter: formats a date;
 * [`format_time`][12] filter: formats a time.

[1]: https://twig.symfony.com/country_name
[2]: https://twig.symfony.com/currency_name
[3]: https://twig.symfony.com/currency_symbol
[4]: https://twig.symfony.com/language_name
[5]: https://twig.symfony.com/locale_name
[6]: https://twig.symfony.com/timezone_name
[7]: https://twig.symfony.com/country_timezones
[8]: https://twig.symfony.com/format_currency
[9]: https://twig.symfony.com/format_number
[10]: https://twig.symfony.com/format_datetime
[11]: https://twig.symfony.com/format_date
[12]: https://twig.symfony.com/format_time