sergeynezbritskiy / nova-poshta-api
Library for connecting to Nova Poshta API
0.0.2
2023-10-21 01:44 UTC
Requires
- php: >=8.0
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- phpcompatibility/php-compatibility: ^9.3
- phpmd/phpmd: ^2.13
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-10-21 04:27:57 UTC
README
Library for connecting your PHP application with NovaPoshta API
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