定制 vioms/laravel-cities 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

vioms/laravel-cities

最新稳定版本:v1.0.2

Composer 安装命令:

composer require vioms/laravel-cities

包简介

Laravel Cities is a bundle for Laravel, providing cities for countries

README 文档

README

Total Downloads Latest Stable Version Latest Unstable Version

Laravel Cities is a bundle for Laravel for all cities.

This package requires:

  • vioms/laravel-countries

Notice

The population of this package might take a few minute to a few hours depending on your installation. The import file is 1.5 GB about 2.2 million records

Installation

Runs composer require vioms/laravel-cities to install the package

Run composer update to pull down the latest version of Cities.

Model

You can start by publishing the configuration. This is an optional step, it contains the table name and does not need to be altered. If the default name cities suits you, leave it. Otherwise run the following command

$ php artisan vendor:publish

You may now run it with the artisan migrate command:

$ php artisan migrate
$ php artisan cities:populate

After running this command the filled cities table will be available

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-04-11