PHP Classes

Zip/Postal Code Lookup Class: Retrieve geographical location for given zip codes

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 40%Total: 843 All time: 4,123 This week: 47Up
Version License PHP version Categories
zippostallookup 1.0BSD License5PHP 5, Web services, Geography
Description 

Author

This class can be used retrieve geographical location information for a given zip or postal code from Eyesis service.

It can send an HTTP request to Eyesis Web services API server with a given zip or postal code.

The class returns the response in an array with the associated country, province, city, latitude and longitude.

It can also calculate the distance between two locations given their zip or postal codes.

Picture of Mike Frank
Name: Mike Frank <contact>
Classes: 3 packages by
Country: Canada Canada
Age: 36
All time rank: 26412 in Canada Canada
Week rank: 46 Up1 in Canada Canada Up

  Files folder image Files (3)  
File Role Description
Plain text file class.geodata.inc.php Class The main EyeGeoData class
Accessible without login Plain text file ex1.php Example Example 1 - Lookup zip/postal
Accessible without login Plain text file ex2.php Example Example 2 - Calculating distance

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:843
This week:0
All time:4,123
This week:47Up
User Ratings User Comments (2)
 All time
Utility:50%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3824