基于快递100开放的快递物流轨迹信息查询
$ composer require fuchen2020/express-info -vvv
require __DIR__ .'/vendor/autoload.php';
use Fuchen2020\ExpressInfo\Express;
//快递100开放授权 API Key
$key = '*****************';//客户授权key
$customer = '*****************';//查询公司编号
$exp = new Express($key,$customer);
echo "获取实时快递轨迹:\n";
$response = $exp->getExpressInfo('zhongtong','77110160482518');
echo json_encode($response, JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.
MIT