2017 © Pedro Peláez
 

library php-simple-ziplocate

Simple API implementation to get Geo Coordinates from Postcodes

image

ins0/php-simple-ziplocate

Simple API implementation to get Geo Coordinates from Postcodes

  • Saturday, August 23, 2014
  • by ins0
  • Repository
  • 1 Watchers
  • 2 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

php-ziplocate-api

simple api implementation to get geo coordinates from postcodes over ziplocate.us, (*1)

Install via Composer

In the require key of composer.json file add the following, (*2)

"ins0/php-simple-ziplocate": "dev-master"

Run the Composer update command, (*3)

$ composer update

example

$postcode = \ZipLocate::fromZipCode(80302);
if( $postcode !== false )
{
    echo $postcode->getLat();
    echo $postcode->getLng();
    echo $postcode->getZip();
}

The Versions

23/08 2014

dev-master

9999999-dev

Simple API implementation to get Geo Coordinates from Postcodes

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

api php geo zipcode ziplocate