PHP Classes

Punic: Localize numbers, dates, units using Unicode CLDR

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 143 All time: 9,177 This week: 673Up
Version License PHP version Categories
punic 1.2.2MIT/X Consortium ...5.3Localization, PHP 5, Libraries
Description 

Author

This package can localize numbers, dates, units, etc. using Unicode CLDR.

It provides several classes that can be used to adapt applications to different locales data from the Unicode Common Locale Data Repository.

Currently it provides classes to format and convert calendar dates, get and set the current locale from a list of supported locales, manipulate the case of text letters, format numbers and text with unit values, format text with plural names, get the list of names of countries and continents.

Innovation Award
PHP Programming Innovation award nominee
October 2014
Number 2


Prize: One downloadable copy of PhpED Professional
Localization is the effort to adapt an application to different locales, i.e. countries, languages, currencies, date formats, etc..

This class provides extensive support to get and manipulate localization information using data from Unicode Common Locale Data Repository.

Manuel Lemos
Picture of Michele Locati
  Performance   Level  
Innovation award
Innovation award
Nominee: 1x

 

Recommendations

What is the best PHP currency symbol class?
Get currency symbol from currency code

Details

Build Status Coverage Status License Punic - PHP Unicode CLDR Toolkit

See punic.github.io for more info.


  Files folder image Files (419)  
File Role Description
Files folder imagebin (6 files)
Files folder imagecode (9 files, 2 directories)
Files folder imagetests (1 file, 10 directories)
Accessible without login Plain text file .coveralls.yml Data Auxiliary data
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE.txt Lic. Documentation
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file punic.php Aux. Configuration script
Accessible without login Plain text file README.md Data Documentation
Accessible without login Plain text file UNICODE-LICENSE.txt Lic. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:143
This week:0
All time:9,177
This week:673Up