iio / phpcountry
[Deprecated] Get localized country names from ISO 3166-1 codes
Installs: 2 969
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
pkg:composer/iio/phpcountry
Requires
- php: >=5.3.0
- umpirsky/country-list: 1.*
This package is not auto-updated.
Last update: 2022-02-01 12:23:30 UTC
README
NOTE: This package is deprecated and will not be updated. Please use the symfony Intl component instead.
PHP Country
Get localized country names from ISO 3166-1 codes
Usage
$country = new \iio\phpcountry\Country; // only needed if you do not want phpcountry to use the // current locale setting $country->setLang('en'); // outputs: Sweden echo $country->translate('se');