umpirsky / country-list

:globe_with_meridians: List of all countries with names and ISO 3166-1 codes in all languages and data formats.
MIT License
5.16k stars 1.55k forks source link

Tag a release in master branch #11

Closed hanneskod closed 11 years ago

hanneskod commented 11 years ago

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...

umpirsky commented 11 years ago

Hey!

Thanks for using it, I tagged now.

Can you link your library, is it opened?

hanneskod commented 11 years ago

Perfect. Works like a charm!

https://github.com/iio/phpcountry

MIT-license. It's a wrapper to your data collection...

umpirsky commented 11 years ago

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

hanneskod commented 11 years ago

=)

crazy