Parse the address string to the array.
> composer require michalsn/australian-address-parser
// calling
$parser = new \Michalsn\AustralianAddressParser\Parser();
$result = $parser->parse('1/55 Rutherford St, Stafford Heights Queensland');
// will return
[
'state' => 'QLD',
'suburb' => 'Stafford Heights',
'postcode' => '4053',
'streetType' => 'Street',
'unitNumber' => '1',
'streetNumber' => '55',
'streetName' => 'Rutherford',
]
The MIT License (MIT). Please see License File for more information.