marcw/cccn

Convert country names to country code in any language

Maintainers

👁 futurecat

Package info

github.com/marcw/cccn

pkg:composer/marcw/cccn

Statistics

Installs: 203

Dependents: 0

Suggesters: 0

Stars: 2

Open Issues: 0

1.0.0 2015-12-22 08:56 UTC

Requires

None

Requires (Dev)

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

👁 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