This extension bundles a recent Maxmind GeoCity Lite gep-ip package and provides a handdful and useful geo-ip related services to its clients:
Features:
- Latest Maxmind Geo City Lite is included. No need to install anything else aside from this Yii extension.
- Information retrieved includes the following properties of an IP address (all, some or none - depending on the info found by Maxmind):[list]
- country_code
- country_code3
- country_name
- region
- city
- postal_code
- latitude
- longitude
- area_code
- dma_code
- metro_code
- continent_code
[]Provides a modern method to determine the current remote IP address ($_SERVER[‘REMOTE_ADDR’] is hardly the only check you’ll need. Visit getRemoteIpAddress() method for more details).[]Provides a method to determine if IP address is “publicly route-able”, meaning not an internal network address or a reserved address (IPv6 supported).[]Provides a method to tell if a given IP address is valid or not (IPv6 supported).[]Easy procedure for future update of the binary DB file.[/list]
See more on the project page… .
Please comment on the GitHub project page so we can keep track of feedback most effectively.
[url="http://www.yiiframework.com/extension/pcmaxmindgeoip/"]Extension page
[/url]Github project page