Wallogit.com
2017 © Pedro Peláez
Provided Ukrainian addresses.
All address was take from official site of 'УкрПошта' https://ukrposhta.ua/dovidnik-poshtovix-adre/opis The library doesn`t contains the addresses of the occupied territories., (*1)
Run command composer require romix/ukrainian-addresses, (*2)
Example to get Address tree., (*3)
$provider = new AddressProvider(); $address = [ 'region' => 'Львівська', 'district' => 'Львів', 'settlement' => 'Львів', 'street' => 'вул. Героїв УПА', 'house' => '73', ]; $result = $provider->getAddressTree($address);
Variable result contain array with: * regions - all regions of Ukraine * districts - all districts of region * settlement - all settlement of district * street - all streets of settlement * house - all houses of street * index - zip-code of this address, (*4)
Author of library is Romix http://github.com/romixua, (*5)
If you have any suggestions, questions, remarks, or found a bug, please write me romixua@ukr.net, (*6)