Skip to content

encoresky/mailing-address-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mailing-address-validator

Validate/Standardize addresses using USPS

Installation on Local Computer

  1. Install Apache on your local computer
  2. Install MySQL on your local computer
  3. Git Clone source code
git clone https://github.com/encoresky/mailing-address-validator.git
  1. Configure the database connection by editing the db.php
define("DB_HOST", "localhost");
define("DB_USERNAME", "");
define("DB_PASSWORD", "");
define("DB_NAME", "");
  1. Configure the USPS connection by editing the db.php
define("USPS_BASE_URL", "https://us-street.api.smartystreets.com/");
define("USPS_API", "street-address");
define("USPS_AUTH_ID", "ed764521-d73f-41dd-e8a6-ff74159fbc2e3434443");
define("USPS_AUTH_TOKEN", "bZoXjPoBFY2FOlA8ChIt333333");
define("USPS_LICENSE", "us-core-cloud-ddd");
define("USPS_CANDIDATES", "10");
define("USPS_MATCH", "enhanced");
  1. Access the web app vai below URL on local computer
http://localhost/mailing-address-validator

About

Validate/Standardize addresses using USPS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published