PHP code example of shopwwi / webman-express

1. Go to this page and download the library: Download shopwwi/webman-express 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/ */

    

shopwwi / webman-express example snippets


use Shopwwi\WebmanExpress\Facade\Express;
$express = Express::make(); //默认选定器
$express = Express::make('kuaidi100');

use Shopwwi\WebmanExpress\Facade\Express;

$express = Express::make(); //默认选定器
// $tracking_code 快递单号
// $shipping_code 物流公司编码
// $additional 扩展参数 详见下面说明
$express = $express->track($tracking_code, $shipping_code,$additional = [])