Registry / utility / commerceguys-intl

commerceguys-intl

JSON →
library2.0.7phppackagistunverified

Internationalization library powered by CLDR data.

composer require commerceguys/intl
INSTALL
IMPORT
SIG · COMMERCEGUYS-INTL
C
commerceguys-intl
utilityphpv2.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CurrencyRepository
✓ use CommerceGuys\Intl\Currency\CurrencyRepository;

Fetch currency information from CLDR data

use CommerceGuys\Intl\Currency\CurrencyRepository; $repo = new CurrencyRepository(); $currency = $repo->get('USD'); echo $currency->getName();
Debug
Known issues
breakingRequires PHP 7.1+ and ext/intl
fix
Install intl extension and upgrade PHP
affects: >=2.0.0
Upgrade
Version history
2.0.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
commerceguys-intl — pip install commerceguys-intl · libregistry