定制 xiaofengit/region-of-china-laravel 二次开发

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

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

xiaofengit/region-of-china-laravel

Composer 安装命令:

composer require xiaofengit/region-of-china-laravel

包简介

Create the region of china for laravel

README 文档

README

The package to create regions of china for Laravel or Lumen. 适用于Laravel,用于生成中国省市区数据拓展包。

Install

Install via compser

Run the following command to pull in the lastest version:

composer require xiaofengit/region-of-china-laravel

Add service provider (Laravel 5.4 or below):

Add the service provider to the providers array in the config/app.php config file as follows:

    'providers' => [

        ...

        Xiaofengit\RegionOfChina\Providers\LaravelServiceProvider::class,
    ]

if you using Laravel 5.5 or higher, the provider will auto load.

Publish the files

Run the following command to publish the package config file:

php artisan vendor:publish --provider="Xiaofengit\RegionOfChina\Providers\LaravelServiceProvider"

Create the table if you needs

Run the following command to create regions table:

php artisan migreate

Seed data

Run the following command to seed data:

php artisan db:seed --class="Database\Seeders\RegionSeeder"

License

It's open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固