ins0 / php-simple-ziplocate
Simple API implementation to get Geo Coordinates from Postcodes
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 0
pkg:composer/ins0/php-simple-ziplocate
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2020-09-11 08:07:48 UTC
README
simple api implementation to get geo coordinates from postcodes over ziplocate.us
Install via Composer
In the require key of composer.json file add the following
"ins0/php-simple-ziplocate": "dev-master"
Run the Composer update command
$ composer update
example
$postcode = \ZipLocate::fromZipCode(80302);
if( $postcode !== false )
{
echo $postcode->getLat();
echo $postcode->getLng();
echo $postcode->getZip();
}