1. Go to this page and download the library: Download nurullah/uavt-adres-kodu library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nurullah / uavt-adres-kodu example snippets
use Dask\AdresKodu\AddressProperties;
use Dask\AdresKodu\AddressInitialize;
$object = new AddressInitialize();
$object::init();
$properties = new AddressProperties();
$properties->setId(0);
$properties->setType("cities");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(1);
$properties->setType("district");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(1757);
$properties->setType("township_village");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(65);
$properties->setType("neighborhood");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(176887);
$properties->setType("street");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(496093);
$properties->setType("building");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(8122892);
$properties->setType("door");
//result
print_r($object::create($properties)->getResult());
$properties = new AddressProperties();
$properties->setId(1315919009);
$properties->setType("uavt");
//result
print_r($object::create($properties)->getResult());
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.