iio / phpcountry
This package is abandoned and no longer maintained.
The author suggests using the symfony/intl package instead.
[Deprecated] Get localized country names from ISO 3166-1 codes
0.3.1
2013-02-01 10:05 UTC
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');