PHP Classes

PHP Address Autocomplete and Verification: Authenticate and autocomplete street addresses

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 426 All time: 6,332 This week: 106Up
Version License PHP version Categories
streetlayer 1.0.1GNU General Publi...5PHP 5, Web services, Geography


This class can authenticate and autocomplete street addresses.

It sends HTTP requests to the streetLayer API Web server to perform several functions:

1. Authenticate an address to verify that it really exists

2. Provide autocomplete text options to an address partially entered

3. Reverse search to addresses close to a geographic location


Validate US address using USPS API
I would like to validate US postal addresses using USPS API

Innovation Award
PHP Programming Innovation award nominee
February 2017
Number 2
Many sites need to request users to enter their postal addresses, like for instance in ecommerce sites. This may be a tedious task for the user, especially those that do not like to type on mobile devices.

Often users give up registering or buying a product when they need to fully enter their postal addresses on forms. So bureaucratic form filling may cause loss of customers.

This package provides a solution to minimize the pain of the users that need to enter postal addresses in forms. It provides means to autocomplete an address partially entered by the user in a Web form.

When used in conjunction with AJAX requests, it can autocomplete the address while the user is typing in on the form without having to reload the current page.

The possibility to validate if an address is correct is also very useful as it may avoid problems of delivering goods to addresses that are incorrect.

Manuel Lemos
Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 58
All time rank: 618 in United States United States
Week rank: 13 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file license.txt Lic. License
Plain text file streetlayer.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,332
This week:106Up