The preferred way to install this extension is through composer.
Either run
composer require --prefer-dist codexten/yii-module-geo:"^2.0.0"
or add
"codexten/yii-module-geo": "^2.0.0"
to the require section of your composer.json.
[
'label' => 'Countries',
'icon' => 'flag',
'url' => ['/country/country/index'],
'active' => controllerId() == 'country',
],
[
'label' => 'Province',
'icon' => 'list',
'url' => ['/geo/province/index'],
'active' => controllerId() == 'provience',
],
[
'label' => 'Zones',
'icon' => 'list',
'url' => ['/geo/zone/index'],
'active' => controllerId() == 'zone',
],
return \yii\helpers\ArrayHelper::merge(
// other configurations
[],
// $moduleGeo
[
]
);
TBD