2017 © Pedro Peláez
 

library google-location

Get location using google web services

image

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

The README.md

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

  • PHP 5.4+

Install (composer)

  • https://packagist.org/packages/gabrielfs7/google-location

The Versions

05/05 2015

dev-master

9999999-dev

Get location using google web services

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Gabriel Felipe Soares

05/05 2015

0.0.1

0.0.1.0

Get location using google web services

  Sources   Download

MIT

The Requires

  • php >=5.5

 

The Development Requires

by Gabriel Felipe Soares