PHP
Requirements
- A Boekuwzending.com account, create one here
- API credentials, send us an email
- PHP 7.4 or higher
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
Method | Description | |
---|---|---|
shipment->get | Retrieve a shipment | |
shipment->create | Create a new shipment | Example |
shipment->downloadLabels | Download labels for a shipment |
Label
Method | Description | |
---|---|---|
label->get | Retrieve a label | |
label->download | Download label |
Changelog
See GitHub: https://github.com/boekuwzending/php-sdk/releases