Google places PHP API client.

Google have an API to provide data related place which is call “Google Places”. You can search to the api using different name of the location and also can append services (e.g Burger in Newyork) and it returns matched you keyword, location.

Last year I wrote a wrapper on PHP on top of the API to access it from PHP application.  Used Composer for the first time, as dependency manager for the wrapper.

google_places_berlin

To use it set the configuration (update the API key of you google place account) and you are ready to go.

Feel free to fork it and contribute 🙂

Advertisements