2017 © Pedro Peláez
 

library ukrainian-addresses

Provided Ukrainian addresses.

image

romix/ukrainian-addresses

Provided Ukrainian addresses.

  • Wednesday, September 27, 2017
  • by romix
  • Repository
  • 0 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Ukrainian Addresses (Українські адреси)

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., (*1)

Installation

Run command composer require romix/ukrainian-addresses, (*2)

Using

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

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)

The Versions

27/09 2017

v1.0.0.x-dev

1.0.0.9999999-dev

Provided Ukrainian addresses.

  Sources   Download

GPL

The Requires

  • php >=5.4

 

address ukrainian