承接 papposilene/geodata 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

papposilene/geodata

Composer 安装命令:

composer require papposilene/geodata

包简介

A PHP package for countries, currencies & others little data

README 文档

README

geodata is a package that offers data about continents, countries, regions and cities.

Config folder

The config folder contains a config file for Laravel.

Data Folder

The data folder contains all the JSON files, with countries, administrative-levels (from 4 to 6), cities, currencies. A last folder, flags, contains the SVG-version of countries' flags.

Database folder

The database folder contains a migrations and a seeders folders. The migrations one has the directives for creating some databases :

  • geodata__continents ;
  • geodata__subcontients ;
  • geodata__countries ;
  • geodata__regions ;
  • geodata__cities.

The seeders files will hydrate the databases :

  • geodata__continents: 6 rows ;
  • geodata__subcontients: 23 rows ;
  • geodata__countries: 250 rows ;
  • geodata__regions: 44,524 rows ;
  • geodata__cities: still counting...

All data folders, except the countries one, has its files subdivided by country.

Obviously, you are totally free to install and hydrate the databases and their data you need for your own project. :)

Installation

You can install the package via composer:

composer require papposilene/geodata

Usage

You can publish all the configuration and data in one line:

php artisan vendor:publish --provider="Papposilene\Geodata\GeodataServiceProvider"

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please use the issue tracker.

Sources

This package uses some other open source packages and, until we don't build a better documentation, you can find some more info about data on antonioribeiro/countries and mledoze/countries.

Please check the copyright section for a complete list of packages used by this one.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate by Beyond Code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-03-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固