nes360org/countries-cities-world 问题修复 & 功能扩展

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

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

nes360org/countries-cities-world

最新稳定版本:1.0

Composer 安装命令:

composer require nes360org/countries-cities-world

包简介

it is the package by connect restcountries wiht API get counties and citys

README 文档

README

This package provides a fast and easy way to obtain a complete list of countries and cities in the world for use in your Laravel 9 application. It connects to an external API (RESTCountries) to gather the necessary information.

Installation

You can install this package using Composer by running the following command:

composer require root/countries-cities-world

Configuration

After installing the package, you must publish its configuration file using the following command:

php artisan vendor:publish --provider="Root\CountriesCitiesWorld\CountriesCitiesWorldServiceProvider"

Usage

You can get a list of countries and cities at any time by calling the following functions:

$countries = CountriesCitW::getCountries();

$cities = CountriesCitW::getCities($countryCode);

Data

To understand the structure of the JSON returned, please consult the API documentation at https://restcountries.com/.

Credits

This package uses the RESTCountries API (https://restcountries.com) to gather information about countries and cities around the world.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-02-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固