darkain/php-tracking-urls
Composer 安装命令:
composer require darkain/php-tracking-urls
包简介
Converts package tracking numbers into URLs (UPS, FedEx, USPS, and more)
README 文档
README
About
PHP Package Tracking URL Library is used to convert package tracking numbers into their respective shipper's online tracking URL format.
Supported shippers:
- United States Postal Service (USPS)
- United Parcel Service (UPS)
- Federal Express (FedEx)
- OnTrac
- DHL
License
This software library is licensed under the BSD 2-clause license, and may be freely used in any project which is compatible with this license.
Example
Usage:
$tracking = '1Z9999W99999999999'; $url = get_tracking_url($tracking); echo $url;
Output:
http://wwwapps.ups.com/WebTracking/processInputRequest?TypeOfInquiryNumber=T&InquiryNumber1=1Z9999W99999999999
统计信息
- 总下载量: 931
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 59
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2018-07-16