项目地址: https://github.com/gabrielbull/php-ups-api 安装:(了解composer看这里:PHP: Composer 依赖管理 Composer Cheat Sheet for developers 安装和用法) composer require gabrielbull/ups-api   前提 需要申请 UPS ACCESS KEY: 用法:(完整整合类见最下方) 1. 地址验证 Address Validation Class (Street Level) $address = new \Ups\Entity\Address(); $address->setAttentionName('Test Test'); $address->setBuildingName('Test'); $address->setAddressLine1('Address Line 1'); $address->setAddressLine2('Address Line… Read More