doncamillo11/country-eu-check
Composer 安装命令:
composer require doncamillo11/country-eu-check
包简介
Checks whether a given country is a member state of the EU.
README 文档
README
Checks whether a given country is a member of the European Union.
Installation
You can install the package via composer.
composer require doncamillo11/country-eu-check
Usage
To check if a country is a member state of the European Union, checkEuMembership method.
You can pass an ISO 3166 country code or a country name to the method.
use DonCamillo11\CountryEuCheck\CountryEuCheck; CountryEuCheck::checkEuMembership('DE'); // true CountryEuCheck::checkEuMembership('CH'); // false
or
use DonCamillo11\CountryEuCheck\CountryEuCheck; CountryEuCheck::checkEuMembership('Germany'); // true CountryEuCheck::checkEuMembership('Switzerland'); // false
License
CountryEUCheck is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 505
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-12-04