Skip to content

Latest commit

 

History

History

yii-module-geo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Geo module for Yii 2.0 +

Installation

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.

Menu Items

    [
        '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',
    ],

Configuration

return \yii\helpers\ArrayHelper::merge(
    // other configurations
    [],
    // $moduleGeo
    [
       
    ]
    );

customization

TBD