1. Go to this page and download the library: Download smart-dato/sf-express-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/ */
smart-dato / sf-express-sdk example snippets
use SmartDato\SfExpress\Facades\SfExpress;
$tracking = SfExpress::getTrackingStatus($payload->toJson());
use SmartDato\SfExpress\SfExpress;
$sf = new SfExpress(
baseUrl: 'https://api-ifsp-sit.sf.global',
appKey: 'your-app-key',
appSecret: 'your-app-secret',
encodingAesKey: 'your-encoding-aes-key',
);