countrytext/extracting-country-from-text
最新稳定版本:v0.2
Composer 安装命令:
composer require countrytext/extracting-country-from-text
包简介
Applications that extract country names from strings
README 文档
README
Applications that extract country names from strings
Installation
After installing the composer, execute the following commands
composer require countrytext/extracting-country-from-text
Usage
$country = new ExtractCounty([ "searchWord" => "korea", // required "searcItem" => "name", // optional "fullSearch" => false, // optional "language" => "en", // optional ]); $country->getCountryFullName(); // Array ( [0] => Korea (Democratic People's Republic of) [1] => Korea, Republic of ) $country->getCountryTwoLetter(); // Array ( [0] => kp [1] => kr ) $country->getCountryThreeLetter(); // Array ( [0] => prk [1] => kor )
Reference
I made it by referring to this repository
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-05-19