http://www.google.com/apis/maps/documentation/#Geocoding_Etc
Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coodinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map based on street addresses in your database or addresses supplied by users. The Google Maps API includes a geocoder that can be accessed via HTTP request or directly from within the JavaScript.
My question is are there any php class/function for this purpose? Thanks!