dungphanxuan/yii2-vnlocation 问题修复 & 功能扩展

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

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

dungphanxuan/yii2-vnlocation

Composer 安装命令:

composer require dungphanxuan/yii2-vnlocation

包简介

Flexible Viet Nam location module for Yii2

README 文档

README

Yii 2 Viet Nam Location


Requirements

  • yii2-widget-depdrop
  • yii2-widget-select2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require  dungphanxuan/yii2-vnlocation=dev-master

or add

"dungphanxuan/yii2-vnlocation": "@dev"

to the require section of your composer.json.

Then init migrate for setup table

  • yii migrate --migrationPath=@vendor/dungphanxuan/yii2-vnlocation/migrations

Configure

NOTE: Make sure that you don't have go component configuration in your config files.

Add following lines to your main configuration file:

'modules' => [
    'go' => [
        'class' => 'dungphanxuan\vnlocation\Module',
    ],
],

Import data

Fill console config:

'controllerMap' => [
        'location-import' => [
            'class' => \dungphanxuan\vnlocation\commands\ImportController::className(),
        ],
    ],

Run:

# Process and exit on finish
./yii location-import

Demo Location

Access router /go/demo-location to see result

Todo

  • Init Migrate
  • Init Region
  • Init City
  • Init District
  • Init Ward
  • Seed Data

Screenshots

Demo Image

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固