dev-master
9999999-devYii2 Module Addresses
BSD-3-Clause
The Requires
extension yii2 addresses
v1.0
1.0.0.0Yii2 Module Addresses
BSD-3-Clause
The Requires
extension yii2 addresses
Yii2 Module Addresses
Yii2 Module Addresses, (*1)
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)
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)
Yii2 Module Addresses
BSD-3-Clause
extension yii2 addresses
Yii2 Module Addresses
BSD-3-Clause
extension yii2 addresses