dev-master
9999999-devGeography module with countries and cities of GEONAMES
MIT
The Requires
- yiisoft/yii2 *
- ext-zlib >=1.1.0
- kartik-v/yii2-widget-select2 *
by amstr1k
extension yii2 city geonames countries geography
Geography module with countries and cities of GEONAMES
The preferred way to install this extension is through composer., (*1)
Either run, (*2)
php composer.phar require --prefer-dist amstr1k/yii2-geography "*"
or add, (*3)
"amstr1k/yii2-geography": "*"
to the require section of your composer.json
file., (*4)
Add yii2-geography to module section of each application config:, (*5)
'modules' => [ 'geography' => [ 'class' => 'amstr1k\geography\Module' ], ]
Add yii2-geography to console config:, (*6)
'geonames-integration'=>[ 'class'=>'amstr1k\geography\commands\GeoNamesController' ],
Apply migrations with console command
- yii migrate --migrationPath=@amstr1k/geography/migrations
, (*7)
Run command to import countries and cities
- yii geonames-integration
, (*8)
Geography module with countries and cities of GEONAMES
MIT
extension yii2 city geonames countries geography