1. Go to this page and download the library: Download skay1994/shipment-sdk-php 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/ */
skay1994 / shipment-sdk-php example snippets
use MelhorEnvio\Shipment;
use MelhorEnvio\Resources\Shipment\Package;
use MelhorEnvio\Enums\Service;
use MelhorEnvio\Enums\Environment;
// Create Shipment Instance
$shipment = new Shipment('your-token', Environment::PRODUCTION);