tdev-agency/nova-poshta-sdk

Laravel package for Nova Poshta API v 2.0 (json only)

1.0.6 2022-07-15 08:50 UTC

This package is auto-updated.

Last update: 2024-10-15 14:06:55 UTC


README

It provides json format only

It is adaptation of the Nova Poshta API for Laravel

Installation

composer require tdev-agency/nova-poshta-sdk

Examples

Getting wirehouses by CityRef

\TDevAgency\NovaPoshtaSdk\Facades\NovaPoshta::addressGeneralModel()->getWarehouses(
                        ['CityRef' => 'city_ref'],
                        AddressGeneral::CATEGORY_BRANCH
                    );

Search city by name

$collection = \TDevAgency\NovaPoshtaSdk\Facades\NovaPoshta::addressModel()->getCities(['FindByString' => $request->get('q')]);

Adding new features

If you need some features please write me to contact@tdev.agency or create an issue

Contribution guidelines

Support follows PSR-12 PHP coding standards, and semantic versioning.

Please report any issue you find in the issues page. Pull requests are welcome.