treehouselabs / address-parser
A Dutch address parser
Installs: 119 714
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 4
Open Issues: 1
Requires
- php: >=5.5.9
- ext-intl: *
Requires (Dev)
- phpunit/phpunit: ~4.1
This package is not auto-updated.
Last update: 2024-12-21 17:17:21 UTC
README
Address Parser is a library that can parse most dutch addresses.
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" }