marcw / cccn
Convert country names to country code in any language
1.0.0
2015-12-22 08:56 UTC
Requires (Dev)
- phpunit/phpunit: ^5.1
This package is not auto-updated.
Last update: 2024-10-26 18:54:43 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