|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2023-09-19 (2 days ago) ||Not yet rated by the users||Total: 126 This week: 4||All time: 9,359 This week: 27|
This package is specific mainly for applications used in United States
This class can get the details of a given address using USPS API.
It can send a HTTP request to the USPS API Web server to get the details of a given United States address.
The class returns an array with the street address, city, state, and the 5 digit postal code.
This CLASS is designed to take advantage of the USPS API for looking up the corrected (normalized) address for a given physical address. There is very little examples of implementing the USPS API in PHP.
When you instantiate the class, include the API key. See the example.php file for usage. If you don't have a valid USPS.com API, you can get one free at https://www.usps.com/business/web-tools-apis/welcome.htm
1.0 Initial Release
1.1 Bugfix 500 error.
2.0 Updated for new USPS API V3 & PHP 8 coding standards
This code was written by request by another developer on phpClasses.org because Streetlayers is going away very soon.
GNU General Public License v3.0 (GNU GPLv3)
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.