2017 © Pedro Peláez
 

yii2-extension yii2-addresses

Yii2 Module Addresses

image

ignatenkovnikita/yii2-addresses

Yii2 Module Addresses

  • Thursday, April 12, 2018
  • by ignatenkovnikita
  • Repository
  • 1 Watchers
  • 0 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Yii2 Module Addresses

Yii2 Module Addresses, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist ignatenkovnikita/yii2-addresses "*"

or add, (*4)

"ignatenkovnikita/yii2-addresses": "*"
./console/yii migrate --migrationPath=@vendor/ignatenkovnikita/yii2-addresses/migrations

to the require section of your composer.json file., (*5)

Usage

Add line to backend config, (*6)

'address' => [
            'class' => \ignatenkovnikita\addresses\Address::class,
            'controllerNamespace' => \ignatenkovnikita\addresses\Address::backendControllerNamespace(),
            'viewPath' => '@vendor/ignatenkovnikita/yii2-addresses/backend/views',
]

Add line to frontend config, (*7)

'address' => [
            'class' => \ignatenkovnikita\addresses\Address::class,
            'controllerNamespace' => \ignatenkovnikita\addresses\Address::frontendControllerNamespace(),
]

Add in backend config in modules, (*8)

'address' => [
            'class' => \ignatenkovnikita\addresses\Address::class,
            'controllerNamespace' => \ignatenkovnikita\addresses\Address::backendControllerNamespace(),
            'viewPath' => '@vendor/ignatenkovnikita/yii2-addresses/backend/views',
        ],

Add in frontend config in modules, (*9)

'address' => [
            'class' => \ignatenkovnikita\addresses\Address::class,
            'controllerNamespace' => \ignatenkovnikita\addresses\Address::frontendControllerNamespace(),
        ],

Add component dadata, (*10)

'dadata' => [
            'class' => \ignatenkovnikita\dadata\Client::className(),
            'token' => 'DADATA_TOKEN,
            'secret' => 'DADATA_SECRET',
            'query_path' => 'http://suggestions.dadata.ru',
        ],

// todo * refactoring * add dependence, (*11)

The Versions

12/04 2018

dev-master

9999999-dev

Yii2 Module Addresses

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 addresses

17/01 2017

v1.0

1.0.0.0

Yii2 Module Addresses

  Sources   Download

BSD-3-Clause

The Requires

 

extension yii2 addresses