PHP wrapper for courier Omniva integration.
Returns Label response (stdClass
object) with encoded PDF & barcode. For Response structure view getLabel
phpdoc.
$client = new Client($username, $password);
$client->getLabel($parcel);
This endpoint returns list of pickup points. Pickup point can be Terminal or Post office. Field Type determines whether field is Terminal (Type: 0) or Post office (Type: 1).
// username & password is not necessary for pickup points
$client = new Client($username, $password);
$points = $client->getPickupPoints();
- implement
Client
tracking - add Symfony\Constraint for data validation