PHP Classes

Zip Codes Range: Finds zip codes within distance of other zip code

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 51%Total: 2,972 All time: 1,255 This week: 455Up
Version License Categories
zipcodesrange 1.0The PHP LicenseDatabases, Geography
Description 

Author

This package is specific mainly for applications used in United States United States .

This class can be used to find all United States zip codes within a given distance range of a given zip code.

It queries a zip code database and will return an array of zip codes plus the distance from the original zip code.

Innovation Award
PHP Programming Innovation award nominee
May 2004
Number 7


Prize: One subscription to the PHP Magazine
There are certain types of Web applications that can benefit from knowing the exact geographic location of their users. Some of those applications could for instance tell about resources of the interest of the users that are located in their neighborhood.

Most users are not able to tell where they are located, but usually they are able to tell what is the postal zip code of their region. Each zip code can be associated with the approximate geographic coordinates of its region.

Locating resources near the region of an user is a matter of determine which zip codes are located within a reasonable limit distance from the zip code informed by the user.

This class provides a solution this problem suitable for sites of users living the United States. It consists in looking up a database of coordinates of zip codes to figure which other zip codes are located in the same region.

Manuel Lemos
Picture of Scott Mattocks
Name: Scott Mattocks <contact>
Classes: 4 packages by
Country: United States United States
Age: 46
All time rank: 12414 in United States United States
Week rank: 136 Down14 in United States United States Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file ZipCodesRange.class.php Class Class file
Accessible without login Plain text file ZipCodesTableDoc.txt Doc. Database Documentation

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:2,972
This week:0
All time:1,255
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:79%StarStarStarStar
Documentation:58%StarStarStar
Examples:-
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2590