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. It is released under the GPLv3 license.
The class requires PHP 5.30 or greater, compiled with cURL support.
To get updates on the software, you may subscribe to my blog or subscribe to the Freshmeat page (requires a Freshmeat account). You can also subscribe to this wiki's Atom feed.
Current Version: 1.0 commit 85926736
Current Development Version: 2.0-alpha-2.5
Alpha versions of v2 of Geolocator support multiple lookups and many new features. See the CHANGELOG file and the history on Github for a complete list of changes. Generated API documentation is being updated as development proceeds.
Select a version for generated API docs:
This software was written by Chris Dzombak.