Yii2 Locations Spain
A Yii2 extension of the jlorente/yii2-locations module that provides the module
with all the spanish regions and cities., (*1)
Installation
Include the package as dependency under the composer.json file., (*2)
To install, either run, (*3)
$ php composer.phar require jlorente/yii2-locations-spain "*"
or add, (*4)
...
"require": {
// ... other configurations ...
"jlorente/yii2-locations-spain": "*"
}
to the require
section of your composer.json
file and run the following
commands from your project directory., (*5)
$ composer update
If you didn't install the jlorente/yii2-locations module previously, you must
follow its installation process before continuing. The module should have been
downloaded in the last "composer update" so you must only run its migrations and
configure it., (*6)
$ ./yii migrate --migrationPath=@vendor/jlorente/yii2-locations-spain/src
License
Copyright © 2015 JosĂ© Lorente MartĂn jose.lorente.martin@gmail.com., (*7)
Licensed under the MIT license. See LICENSE.txt for details., (*8)