marcw/cccn

Convert country names to country code in any language

1.0.0 2015-12-22 08:56 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:59:27 UTC


README

Build Status

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