jlorente / yii2-locations-spain
这是 jlorente/yii2-locations 模块的 Yii2 扩展,为该模块提供了所有西班牙地区和城市。
0.6.3
2019-04-24 07:44 UTC
Requires
- jlorente/yii2-locations: ^0.6.1
README
这是 jlorente/yii2-locations 模块的 Yii2 扩展,为该模块提供了所有西班牙地区和城市。
安装
将包作为依赖项添加到 composer.json 文件中。
要安装,可以执行以下操作:
$ php composer.phar require jlorente/yii2-locations-spain "*"
或者将以下内容添加到 require
部分:
... "require": { // ... other configurations ... "jlorente/yii2-locations-spain": "*" }
到你的 composer.json
文件,并在项目目录中运行以下命令。
$ composer update
如果你之前没有安装 jlorente/yii2-locations 模块,在继续之前你必须遵循其安装过程。模块应该在最近的 "composer update" 中已下载,因此你只需运行其迁移并配置它。
$ ./yii migrate --migrationPath=@vendor/jlorente/yii2-locations-spain/src
许可证
版权 © 2015 José Lorente Martín jose.lorente.martin@gmail.com。
根据 MIT 许可证授权。有关详细信息,请参阅 LICENSE.txt。