sergeynezbritskiy/nova-poshta-api

Library for connecting to Nova Poshta API

0.0.2 2023-10-21 01:44 UTC

README

Library for connecting your PHP application with NovaPoshta API

codecov

Scrutinizer Code Quality Code Coverage Build Status Code Intelligence Status

Latest Stable Version Total Downloads Latest Unstable Version License PHP Version Require

Installation

The easiest way to install module is using Composer

composer require sergeynezbritskiy/nova-poshta-api

Configuration

In order to use this library you need to generate an API key here in Налаштування -> Безпека -> Створити ключ.

Usage

Using library is as easy as possible

//create client for connecting with API
$client = new \SergeyNezbritskiy\NovaPoshta\Client('<your_api_key>');
//run the request
$result = $client->address->getCities();

Notes

For more details please visit documentation