Download the PHP package jboilesen/googleplace without Composer
On this page you can find all versions of the php package jboilesen/googleplace. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package googleplace
PHP SDK for Google Places APIs
Location aware web application uses google-places-api(Place Search, Place Details, Geocoding , Distance Matrix, Timezone, Elevation ) a lot. They are not linked to each other also its hard to find a easy and time saving php libraray to work with these api. These libraray will need less knowldege about google api and give you flavour of OOP.
Setting
Add this line on your composer.json
You need to set your google api keys on top of your page. Like below
Nearby Search
A Nearby Search lets you search for places within a specified area. For example you can search all the Restaurents of your city.
Text Search
Text Search Service is a web service that returns information about a set of places based on a string — for example "pizza in New York"
Place Details
A Place Details request returns more comprehensive information about the indicated place such as its complete address, phone number, user rating and reviews. You need to pass place_id or a reference from a Place Search
Geocoding
You can get places by a place name or latitude and longitude.
Distance Matrix API
Distance Matrix API is a service that provides travel distance and time for a matrix of origins and destinations, based on the recommended route between start and end points
Timezone API
Time Zone API provides time offset data for locations on the surface of the earth. The API returns the name of that time zone, the time offset from UTC, and the daylight savings offset.
Elevation API
Get the altitude(height from sea level in meters) of a given place.