Gisgraphy - Address parser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Client
.gitignore
GisgraphyAddress.php
LICENSE.txt
README.md
WBGisgraphyBundle.php
composer.json

README.md

GisgraphyBundle

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());