2017 © Pedro Peláez
 

yii2-extension yii2-geography

Geography module with countries and cities of GEONAMES

image

amstr1k/yii2-geography

Geography module with countries and cities of GEONAMES

  • Sunday, January 18, 2015
  • by amstr1k
  • Repository
  • 3 Watchers
  • 14 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Geography module for Yii 2

Installation

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)

Configuration

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)

The Versions

18/01 2015

dev-master

9999999-dev

Geography module with countries and cities of GEONAMES

  Sources   Download

MIT

The Requires

 

by Avatar amstr1k

extension yii2 city geonames countries geography