GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - twigphp/intl-extra: A Twig extension for Intl

BranchesTags
Open more actions menu

Latest commit

 

History

109 Commits
109 Commits

Folders and files

NameName
Last commit message
Last commit date
Tests
Tests
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
IntlExtension.php
IntlExtension.php
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

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;
  • collate function: compares two strings in the alphabetical order of a locale.

About

A Twig extension for Intl

twig.symfony.com/

Topics

intlphptemplatingtwig

Resources

Readme
MIT license

Security policy

Security policy
Activity
Custom properties

Stars

362 stars

Watchers

4 watching

Forks

26 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.