2017 © Pedro Peláez
 

yii2-extension yii2-novaposhta

Nova Poshta Api

image

aksi0/yii2-novaposhta

Nova Poshta Api

  • Wednesday, June 14, 2017
  • by Aksi0
  • Repository
  • 1 Watchers
  • 1 Stars
  • 152 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

Nova Poshta

Nova Poshta Api, (*1)

Installation

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)

Usage

  1. Setup configuration:
'components' => [
    'novaPoshta' => [
        'class' => 'aksi0\novaposhta\NovaPoshta',
        'api_key' => '*specify your api key*'
    ]
]
  1. Getting/Search cities
$novaPoshta = Yii::$app->novaPoshta;
// get all cities
$cities = $novaPoshta->getAddress()->getCities();
// or search
$cities = $novaPoshta->getAddress()->getCities('Dnipro');

The Versions

14/06 2017

dev-master

9999999-dev

Nova Poshta Api

  Sources   Download

MIT

The Requires

 

by Aksi

novaposhta

14/06 2017

dev-develop

dev-develop

Nova Poshta Api

  Sources   Download

MIT

The Requires

 

by Aksi

novaposhta