marcw/cccn

Convert country names to country code in any language

Maintainers

Details

github.com/marcw/cccn

Source

Issues

Installs: 203

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/marcw/cccn

1.0.0 2015-12-22 08:56 UTC

This package is not auto-updated.

Last update: 2025-10-12 00:04:36 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