dev-master
9999999-devNova Poshta Api
MIT
The Requires
- php >=5.3.0
- yiisoft/yii2 *
- guzzlehttp/guzzle *
by Aksi
novaposhta
dev-develop
dev-developNova Poshta Api
MIT
The Requires
- php >=5.3.0
- yiisoft/yii2 *
- guzzlehttp/guzzle *
by Aksi
novaposhta
Wallogit.com
2017 © Pedro Peláez
Nova Poshta Api
Nova Poshta Api, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
php composer.phar require --prefer-dist aksi0/yii2-novaposhta "dev-master"
or add, (*4)
"aksi0/yii2-novaposhta": "dev-master"
to the require section of your composer.json file., (*5)
'components' => [
'novaPoshta' => [
'class' => 'aksi0\novaposhta\NovaPoshta',
'api_key' => '*specify your api key*'
]
]
$novaPoshta = Yii::$app->novaPoshta;
// get all cities
$cities = $novaPoshta->getAddress()->getCities();
// or search
$cities = $novaPoshta->getAddress()->getCities('Dnipro');
Nova Poshta Api
MIT
novaposhta
Nova Poshta Api
MIT
novaposhta