library google-location
Get location using google web services
gabrielfs7/google-location
Get location using google web services
- Tuesday, May 5, 2015
- by gabrielfs7
- Repository
- 1 Watchers
- 0 Stars
- 1,458 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 1 % Grown
google-location
Retrieve location data from Google using PHP, (*1)
setStreet('Marechal Rondon')
->setNumber('998')
->setDistrict('Barreiros')
->setCity('Sao Jose')
->setState('Santa Catarina')
->setPostcode('88117030')
->setCountry('Brasil')
->locate();
//OR using single parameters...
$coordinates = (new \GSoares\Google\Location\CoordinatesLocator())
->setPostcode('88117030')
->locate();
/*
RETURNS:
object(GSoares\Google\Location\Address\Coordinates)#6 (2) {
["latitude"]=>
string(11) "-27.5818202"
["longitude"]=>
string(11) "-48.6039563"
}
*/
?>
Requirements
Install (composer)
- https://packagist.org/packages/gabrielfs7/google-location
dev-master
9999999-dev
Get location using google web services
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Felipe Soares
0.0.1
0.0.1.0
Get location using google web services
Sources
Download
MIT
The Requires
The Development Requires
by
Gabriel Felipe Soares