propt8/country-information 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

propt8/country-information

Composer 安装命令:

composer require propt8/country-information

包简介

PHP library for country information

README 文档

README

Country Information

Installation

Package is available on Packagist, you can install it using Composer.

composer require propt8/country-information

Dependencies

  • PHP 7.1+

Basic usage

use propt8\Country\Country;

Country::countryName('Lithuania'); // return CountryInformationEntity

Country::countryCode('LT'); // return CountryInformationEntity

Country::countryAlpha3Code('LTU'); // return CountryInformationEntity

Country::countryCode('LT')->toArray();
Data sample:
{
  "country_name": "Lithuania",
  "country_code": "LT",
  "country_alpha3_code": "LTU",
  "country_numeric_code": 440,
  "capital": "Vilnius",
  "country_demonym": "Lithuanians",
  "total_area": 65300,
  "population": 2876475,
  "idd_code": "370",
  "currency_code": "LTL",
  "currency_name": "Lithuanian Litas",
  "currency_symbol": "Lt",
  "lang_code": "LT",
  "lang_name": "Lithuanian",
  "cctld": "lt"
}

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-09-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固