1. Go to this page and download the library: Download trunkrs/sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$details = new \Trunkrs\SDK\ShipmentDetails();
$parcel = new \Trunkrs\SDK\Parcel();
// Set the reference of the parcel. This is arcel,
];
$details->sender = new \Trunkrs\SDK\Address();
// Set the pickup address properties.
$details->recipient = new \Trunkrs\SDK\Address();
// Set the delivery address properties.
$shipments = \Trunkrs\SDK\Shipment::create($details);