PHP code example of jormin / laravel-kdniao

1. Go to this page and download the library: Download jormin/laravel-kdniao 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/ */

    

jormin / laravel-kdniao example snippets


	Jormin\KDNiao\KDNiaoServiceProvider::class,
	

       Jormin\KDNiao\KDNiao::expresses();
    

       $code = 'SF';
       Jormin\KDNiao\KDNiao::getExpressByCode($code);
    

       $orderSn = '业务订单号';
       $expressCode = '物流公司编码';
       $orderSn = '物流单号';
       Jormin\KDNiao\KDNiao::subExpressInfo($orderSn, $expressCode, $expressSn);
    

       $orderSn = '业务订单号';
       $expressCode = '物流公司编码';
       $orderSn = '物流单号';
       Jormin\KDNiao\KDNiao::queryExpressInfo($orderSn, $expressCode, $expressSn);
    
shell
	php artisan vendor:publish