Download the PHP package bigbank/omniva without Composer
On this page you can find all versions of the php package bigbank/omniva. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bigbank/omniva
More information about bigbank/omniva
Files in bigbank/omniva
Package omniva
Short Description Library to interface with Omniva web API-s
License Apache-2.0
Homepage https://github.com/bigbank-as/omniva
Informations about the package omniva
PHP Library for Omniva API-s
A PHP library for interfacing with Omniva (former Estonian Postal Service) web API-s without dealing with SOAP (too much).
Install
Via Composer
The library requires PHP >=5.6
, curl
, soap
and openssl
extensions.
Usage
Example implementation in examples/search-address.php can be run with
To use a HTTP proxy, set HTTP_PROXY
environment variable.
Services
The library provides access to the following services:
Address Search
Get a list of physical addresses based on a partial input. Useful for applications like address auto-complete.
- Interface name:
AddressSearchInterface
- Omniva service name:
ANDMETEENUSED AADRESSKOMPONENTIDE PÄRIMISE TEENUS 2 SISEND 5_1 (VERS.1)
- WSDL: https://otseturundus.post.ee/aadressid/ws/singleAddress2_5_1.wsdl
Usage
You can change the URL of the Omniva API endpoint by manually instantiating AddressSearch
:
Sample Output
Change log
Please see CHANGELOG for more information what has changed recently.
Testing
Development
Please see CONTRIBUTING for details.
Definitions
Definitions for terms used by Omniva API-s (in Estonian):
- EHAK - Eesti haldus- ja asustusjaotuse klassifikaator
- ADS - Aadressiandmete süsteem
- Põhiaadress - See on vajalik juhul kui objektil on küll mitu aadressi kuid aktiivselt kasutatakse ühte nendest ja teine on varuks. Näiteks kui on tegu tänava nurgal oleva majaga, millel on kaks aadressi. Hoone peasissekäik on ühelt tänavalt ja see aadress oleks sel juhul põhiaadress.
Related Materials
These materials (in Estonian) help to understand the address domain.
- Kohanimed Aadressiandmete Süsteemis, Maa-Amet 2008
- L-EST97 Eesti Geodeetiline süsteem
- ADS kontseptsioon
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Bigbank's developers
- All Contributors
License
The Apache 2.0 License (Apache-2.0). Please see License File for more information.
All versions of omniva with dependencies
ext-curl Version *
ext-soap Version *
ext-openssl Version *
php Version >=5.6
league/container Version ~2.0