geoip

Map IP address to geographic places


This PHP extension allows you to find the location of an IP address - City, State, Country, Longitude, Latitude, and other information as all, such as ISP and connection type. For more info, please visit Maxmind's website.

License: PHP License

Latest releases

Version Release Download
1.1.1 2016-08-19 geoip-1.1.1.tgz
1.1.0 2014-05-01 geoip-1.1.0.tgz
1.0.8 2011-10-23 geoip-1.0.8.tgz
1.0.7 2009-03-11 geoip-1.0.7.tgz
1.0.6 2009-01-20 geoip-1.0.6.tgz
Show all releases

Changelog

Version Message
1.1.1 * Add IPv6 support (geoip_country_code_by_*_v6)
* PHP7 support (thanks to Adam and Dan Ackroyd)
1.1.0 * Add geoip_setup_custom_directory() to setup custom directories per request.
* Remove E_NOTICES for IPs not found in database.
* Fix a segfault with geoip_db_get_all_info() on newer libs (bug #64692).
* Add support for geoip_netspeedcell_by_name(), geoip_asnum_by_name() and geoip_domain_by_name() (bug #67121).
* Fix memory leak with custom directories (bug #67138).
* Support changing custom directory via ini_set() (bug #61607).
1.0.8 * Windows support
* Fix segfault with newer geoip libraries and geoip_db_get_all_info() (bug #60066)
* Use X-Macros for repeated code
* Updated tests
1.0.7 * Do not issue a NOTICE when values don't exist for timezone and region name (as added in 1.0.4)
* Fix a compile issue on FreeBSD
* Try to be bulletproof on library features detection.
1.0.6 * Fixing compile bug when multiple GeoIP libs are installed, bug #15372.
Show complete changelog