ecma_intl

ecma_intl is an i18n and l10n extension for PHP


ecma_intl is a PHP implementation of the ECMA-402 11th Edition
Internationalization API Specification.

License: BSD-3-Clause

Latest releases

Version Release Download
0.2.0 2023-09-02 ecma_intl-0.2.0.tgz
0.1.3 2023-08-30 ecma_intl-0.1.3.tgz
0.1.2 2023-08-29 ecma_intl-0.1.2.tgz
0.1.1 2023-08-27 ecma_intl-0.1.1.tgz
0.1.0 2023-08-27 ecma_intl-0.1.0.tgz
Show all releases

Changelog

Version Message
0.2.0 Add Locale::$currency and Locale\Options::$currency properties. ECMA-402 does not define these properties; they are unique to this implementation and inspired by the properties and methods added in the Intl Locale Info Proposal.
0.1.3 Fix: reduce duplication of code (and eliminate build warnings) by splitting MINIT for each class into separate functions.
Fix: allow installation of extension on PHP 8.3.
Fix: fixes a build warning for switch statements with no default branch.
0.1.2 Fix: ensure build directories are created for each source directory, fixing an issue where the extension could not be installed using pecl.
0.1.1 Fix: remove package.xml from manifest to avoid md5 checksum errors when installing via pecl.
0.1.0 Initial release with initial functionality ported from ECMA-402:

- Ecma\Intl static class with static methods getCanonicalLocales() and supportedValuesOf()
- Ecma\Intl\Category enum to pass to Intl::supportedValuesOf()
- Ecma\Intl\Locale to represent Unicode locales
- Ecma\Intl\Locale\Options for manipulating locales when creating instances of Ecma\Intl\Locale
- Ecma\Intl\Locale\TextInfo and Ecma\Intl\Locale\CharacterDirection for conveying typesetting information for the locale
- Ecma\Intl\Locale\WeekInfo and Ecma\Intl\Locale\WeekDay for conveying calendar information for the locale
Show complete changelog