macklus / yii2-geoselect
Ajax小部件,用于显示国家、省份和位置选择
dev-master
2017-04-19 09:54 UTC
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-09-14 18:53:00 UTC
README
Ajax小部件,用于显示国家、省份和位置选择
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一:
php composer.phar require --prefer-dist macklus/yii2-geoselect "*"
或者在您的 composer.json 文件的 require 部分添加:
"macklus/yii2-geoselect": "*"
to the require section of your composer.json file.
更新数据库模式
最后,您需要通过应用迁移来更新您的数据库模式。请确保您已正确配置了 db 应用程序组件,并运行以下命令:
$ php yii migrate/up --migrationPath=@vendor/macklus/yii2-geoselect/migrations/