marcw/cccn
Convert country names to country code in any language
Maintainers
1.0.0
2015-12-22 08:56 UTC
Requires
None
Requires (Dev)
- phpunit/phpunit: ^5.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 74e7b2c75d5fb2748e8a6348b4b084e1831120a2
- Marc Weistroff <marc.woop@weistroff.net>
This package is not auto-updated.
Last update: 2026-06-21 03:44:57 UTC
README
Simply convert country names (from nearly every languages) to the corresponding country code. The country list comes from https://github.com/marcw/country-list.
Usage
// will return 'FR'
MarcW\CCCN\CCCN::getCountryCode('Fàlâŋnsì');
License
MIT
