Download the PHP package ydjharris/china-area without Composer
On this page you can find all versions of the php package ydjharris/china-area. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ydjharris/china-area
More information about ydjharris/china-area
Files in ydjharris/china-area
Download ydjharris/china-area
More information about ydjharris/china-area
Files in ydjharris/china-area
Vendor ydjharris
Package china-area
Short Description China Province City Area From JD.COM
License MIT
Package china-area
Short Description China Province City Area From JD.COM
License MIT
Please rate this library. Is it a good library?
Informations about the package china-area
Laravel-China-Area 「全国省市县乡镇街道」数据(数据来源于京东,内置爬虫,可自行获取最新数据)
这是一个提供「全国省市县乡镇街道」数据的轮子
试过了很多数据来源(国家统计局、网上其他开发者提供的json等),发现还是会有小部分省市有遗漏。
这个包的数据是来自于京东,相对来说会更准确、详尽一些。
内部自带京东「省市县乡镇街道」数据爬虫,用户可以自行运行爬取最新的「省市县乡镇街道」数据
原项目地址
https://github.com/aoxiang594/laravel-province-city-area
Composer 安装
生成数据库迁移文件:
执行数据库迁移
最后一步:从京东获取新的「省市县乡镇街道」数据
其他
php artisan area:refreshData -d:file|jd
更新数据有一个参数 driver
参数值 | 说明 |
---|---|
file | 从本地资源中获取数据,file是默认值 |
jd | 从京东获取抓取最新数据 |
Demo
All versions of china-area with dependencies
PHP Build Version
Package Version
The package ydjharris/china-area contains the following files
Loading the files please wait ....