wikibusiness / gisgraphy-bundle
Gisgraphy - Geocode webservice wrapper.
Installs: 707
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=5.5
- guzzlehttp/guzzle: ~5.1
This package is not auto-updated.
Last update: 2024-12-21 19:00:42 UTC
README
This is a simple Symfony wrapper for parsing address data from gisgraphy.
Installation
Install is done via composer
:
$ composer require wikibusiness/gisgraphy-bundle
Usage
$address = '1600 Amphitheatre Parkway Mountain View CA'; $countryCode = 'us'; $gis = new Gisgraphy($address, $countryCode); $gisAddress = $gis->decode(); var_dump($gisAddress); var_dump($gisAddress->toArray()); var_dump($gisAddress->getKeys()); var_dump($gisAddress->getZipcode());