PHP code example of wang-tech-commits / kuaidi100-api

1. Go to this page and download the library: Download wang-tech-commits/kuaidi100-api 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/ */

    

wang-tech-commits / kuaidi100-api example snippets




use MrwangTc\Kuaidi100\Express\Synquery;

$express = new Synquery();
$synQuery = $express->pollQuery('快递公司编码', '快递单号');



use MrwangTc\Kuaidi100\Express\Maptrack;

$express = new Maptrack();
$mapQuery = $express->mapQuery('快递公司编码', '快递单号');



use MrwangTc\Kuaidi100\Express\Autonumber;

$express = new Autonumber();
$auto    = $express->auto('快递单号');
shell script
php artisan vendor:publish --provider="MrwangTc\Kuaidi100\ServiceProvider"