Skip to content

awd-studio/NovaPoshta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Powerful & Simple NovaPoshta API SDK for PHP

Fast and easy, integrate your PHP apps with official API.

Build Status Coverage Status Latest Stable Version Total Downloads License

About Nova Poshta company:

Today Nova Poshta is a leader in express delivery owing to its innovation approach and hard work on efficiency improvement. By anticipating Client needs, the company constantly comes up with new products and services.

Nova Poshta’s business isn’t solely about parcels and cargoes delivery. We pride ourselves in e-commerce market development and deployment of complex technological solutions helping businesses to expand on the international scale.

Nova Poshta puts into your service:

  • Over 2500 depots all over Ukraine
  • Over 2500 vehicles
  • 36 cutting-edge sorting stations
  • Over 16 000 qualified employees
  • More than 60 million shipments a year
  • Over 350 cash desks carrying out money transfers
  • Modern logistics complex of 4000 sq. m.
  • Transparent fees and loyalty programs
  • Dedicated customer service and support
  • Track and Trace

More information.

Very simple usage (see more examples below):

<?php

use NP\NP;

$response = NP::init($key)->sendWith('Address', 'searchSettlements', [
    'StreetName'    => 'Шев',
    'SettlementRef' => 'e715719e-4b33-11e4-ab6d-005056801329',
    'Limit'         => 10,
]);

Requirements

Install

Via Composer

composer require awd-studio/novaposhta

Uninstall

composer remove awd-studio/novaposhta

Usage:

<?php

use NP\NP;

$np = NP::init(['key' => 'yourApiKey', 'driver' => $yourDriver]);

// Simple usage methods:
$np->with('modelName', 'methodName', $data);
$response = $np->send();

// Or more simple:
$response = $np->sendWith('modelName', 'methodName', $data);

See details. All methods implements.