romix/ukrainian-addresses

Provided Ukrainian addresses.

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/romix/ukrainian-addresses

v1.0.0.x-dev 2017-09-26 23:42 UTC

This package is auto-updated.

Last update: 2025-10-21 21:48:54 UTC


README

Library info

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.

Installation

Run command composer require romix/ukrainian-addresses

Using

Example to get Address tree.

$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

Author

Author of library is Romix http://github.com/romixua

If you have any suggestions, questions, remarks, or found a bug, please write me romixua@ukr.net