PHP implementation of Google Places API