adr/addressverification
Composer 安装命令:
composer require adr/addressverification
包简介
Checks the address passed to it against USPS endpoint for validity purposes
README 文档
README
This library can be used for address verification purposes. It uses the USPS endpoint to query for addresses.
Install
composer require adr/addressverification
Usage
Example
use ADR\AddressVerification $addressVerification = new AddressVerification(); $address = ['address1' => '<Address1>', 'address2' => '<Address2>, 'city' => '<City>, 'state' => '<State>', 'zip' => '<Zip>', 'zipExt' => '<Zip extension>']; $response = $addressVerification->verifyAddress($address); /** Return Response will be in the format below ['status' => 'True|False', 'message' => ''] **/
统计信息
- 总下载量: 614
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2017-04-02