PHP

Requirements

Composer installation

Install the API client using Composer.

$ composer require boekuwzending/php-sdk

Basic Example

Creating the client:

<?php

require 'vendor/autoload.php';

const CLIENT_ID = '';
const CLIENT_SECRET = '';

$client = \Boekuwzending\ClientFactory::build(CLIENT_ID, CLIENT_SECRET);

Endpoints

Shipment

MethodDescription
shipment->getRetrieve a shipment
shipment->createCreate a new shipmentExample
shipment->downloadLabelsDownload labels for a shipment

Label

MethodDescription
label->getRetrieve a label
label->downloadDownload label

Changelog

See GitHub: https://github.com/boekuwzending/php-sdk/releases