Uses FreeGeoIp, HostIp, IpInfoDB, Yahoo! PlaceFinder, Google Maps, Bing Maps, OpenStreetMaps, Geoip, and CloudMade geocoding services to geocode addresses and IP Addresses. <?php // Create an adapter $adapter = new \Geocoder\HttpAdapter\BuzzHttpAdapter(); // Create a Geocoder object and pass it your adapter $geocoder = new \Geocoder\Geocoder(); // Then, register all providers your want $geocoder->registerProviders(array( new \Geocoder\Provider\YahooProvider( …
Continue reading “Geocoder — The almost missing Geocoder PHP 5.3 library.”