Closed hanneskod closed 11 years ago
Perfect. Works like a charm!
https://github.com/iio/phpcountry
MIT-license. It's a wrapper to your data collection...
Ha, but you can do same with:
// outputs: Sweden
echo (new Symfony\Component\Locale\Locale())->getDisplayCountries('en')['SE'];
I used it for ICU, check http://symfony.com/doc/2.0/components/locale.html
=)
crazy
I have written a library that depends on country-list through composer and packagist. Now because there is no tagged release of country-list all projects that depend on my library must add "minimum-stability": "dev" to their composer.json.
Adding a tag would solve this for me. Hope it's not to much trubble...