PHP code example of easyexpress / shunfeng
1. Go to this page and download the library: Download easyexpress/shunfeng 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/ */
easyexpress / shunfeng example snippets
$config = [
'debug' => true,
'appID' => '000***11',
'appKey' => 'AC9DA1B7452***775118CA8DB1237431',
'custID' => '7550***174',
'log' => [
'level' => 'debug',
'file' => '/tmp/express.log'
]
];
$app = new \EasyExpress\Foundation\Application($config);
$order = $app->order;
$order->queryProductAdditional();