mercyware/nigerianstates
Composer 安装命令:
composer require mercyware/nigerianstates
包简介
Nigerian States is a package that helps retrieve details about states in the Federal Republic of Nigeria icnluding Local Governement, Languages, Date Created, Capital and more. Credit: Rinvex LLC from the Rinvex Country Package. https://github.com/rinvex/countries
README 文档
README
Nigerian States is inspired by Rinvex Country Package https://github.com/rinvex/countries. The Nigerian states laravel package helps to easily retrive information about the 36 states in the Federal Republic of Nigeria.
Available information includes
- State Name
- Local Governments within the States
- Languages
- Date Created
- Population
- Capital
- Political Zone
- Nick Name
- and more.
Usage
install via composer require mercyware/nigerianstates
//Get the list of States
$states = StatesLoader::states();
//Get a State Details
$state = StatesLoader::state('abia');
//Get name of a state
$state->getName();
//Get The Officail Name of a state
$state->getOfficialName();
//Get The short code of a state
$state->getShortCode();
//Get the state capital name
$state->getStateCapital();
//Get the state geo political zone
$state->getGeoPoliticalZone();
//Get the date state was created
$state->getDateCreated();
//Get the state population according to 2016 Census
$state->getPopulation();
//Get the official website of state
$state->getStateWebsite();
//Get thestate Demonym
$state->getDemonym();
//Get the state nick name
$state->getStateNickName();
//Get the list of local government in the state
$state->getLocalGovernmentAreas();
//Get the languages spoken in the state
$state->getLanguages();
//Get the official website of state
$state->getStateWebsite();
//Get the official website of state
$state->getStateWebsite();
Source of Information
- Wikipedia [https://en.wikipedia.org/wiki/States_of_Nigeria].
mercyware/nigerianstates 适用场景与选型建议
mercyware/nigerianstates 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 293 次下载、GitHub Stars 达 7, 最近一次更新时间为 2019 年 11 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 mercyware/nigerianstates 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mercyware/nigerianstates 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 293
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-18