# sfDoctrineIpGeolocPlugin ## Introduction The plugin lets you lookup country codes from IP addresses. It is a combination of sfIpGeolocHelperPlugin (http://www.symfony-project.org/plugins/sfIpGeolocHelperPlugin) and the old sfIp2Country plugin (http://trac.symfony-project.org/wiki/sfIp2Country). It is also using Doctrine. It doesn't do anything very clever, just provides you with a two letter country code. The rest is up to you :) ## Installation Install the plugin like usual. You will also need to load in some data for the IP lookups. You can get that from: http://software77.net/cgi-bin/ip-country/geo-ip.pl There is an example shell script included that could be used to load this automatically.