marcw/cccn

将任何语言的国家名称转换为国家代码

1.0.0 2015-12-22 08:56 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:09:44 UTC


README

Build Status

简单地将各国名称(几乎来自所有语言)转换为对应的国家代码。国家列表来自 https://github.com/marcw/country-list

用法

// will return 'FR'
MarcW\CCCN\CCCN::getCountryCode('Fàlâŋnsì');

许可证

MIT