Skip to content

treehouselabs/address-parser

Repository files navigation

Address Parser

Address Parser is a library that can parse most dutch addresses.

Build Status Scrutinizer Code Quality Code Coverage

Usage

$parser = new \TreeHouse\AddressParser\AddressParser();

$result = $parser->parse('Willembuytechweg 45');

var_dump($result);

The above example will output:

array(3) {
  'street' =>
  string(16) "Willembuytechweg"
  'number' =>
  string(2) "45"
  'address' =>
  string(19) "Willembuytechweg 45"
}