Geolocator is a PHP class which provides an easy-to-use interface to the IP address location XML API described at ipinfodb.com. This API allows you to find the city, state/region, country, and approximate latitude/longitude associated with an IP address or domain. The class aims to be easy-to-use, versatile, and well-documented. The class requires PHP 5.30 or greater, compiled with cURL support.
|Tags||Software Development php classes Web Development PHP Geolocation Geographical Internet Libraries|
|Operating Systems||OS Independent|
FYI: the IPGeolocation PHP Class is now called Geolocator-PHP.
Release Notes: Array and iterator functionality was implemented; Geolocation objects are now returned instead of arrays. This version could start being integrated into new and updated software; the API should be more or less stable.
Release Notes: One Geolocator can be used to find multiple locations in one lookup. It supports country precision and domain lookups. Internal operation was made more efficient. API usage is now more intuitive and object-oriented. A PHP notice about $this->timeout being undefined was fixed. Many other changes have been made. This is a rethinking of how the class should work.
Release Notes: Minor fixes were made for whitespace/tabs. Other were minor fixes were done.
Release Notes: The API endpoint URL was updated. The cURL code was improved. Error handling was improved. The API's backup server was added. Documentation was improved.
Release Notes: This is the first release. It is near-production quality, but there is some testing and a few other TODOs before 1.0.