nurullah / uavt-adres-kodu
This package is abandoned and no longer maintained.
No replacement package was suggested.
PHP ile uavt adres kodu botu
v1.4
2019-09-23 07:31 UTC
This package is auto-updated.
Last update: 2021-01-09 08:42:18 UTC
README
PHP ile uavt adres kodu botu
İçerik
Package
Adres Kodu Nedir?
Adres kodu ülke sınırları içindeki tüm konutlara ait 10 haneli özel bir numaradır.
Bu kütüphaneyi ayrıca il, ilçe, mahalle, köy, cadde-sokak vs gibi bilgileri sorgulamak içinde kullanabilirsiniz.
Linkler
Adres kodunuzu öğrenmek için (https://adreskodu.dask.gov.tr/)
Kurulum
composer require nurullah/uavt-adres-kodu
Kullanım
include '/to/path/vendor/autoload.php'; use Dask\AdresKodu\AddressProperties; use Dask\AdresKodu\AddressInitialize; $object = new AddressInitialize(); $object::init();
İller
$properties = new AddressProperties(); $properties->setId(0); $properties->setType("cities"); //result print_r($object::create($properties)->getResult());
İlçeler
$properties = new AddressProperties(); $properties->setId(1); $properties->setType("district"); //result print_r($object::create($properties)->getResult());
Bucak-Köy
$properties = new AddressProperties(); $properties->setId(1757); $properties->setType("township_village"); //result print_r($object::create($properties)->getResult());
Mahalle
$properties = new AddressProperties(); $properties->setId(65); $properties->setType("neighborhood"); //result print_r($object::create($properties)->getResult());
Cadde-Sokak
$properties = new AddressProperties(); $properties->setId(176887); $properties->setType("street"); //result print_r($object::create($properties)->getResult());
Binalar
$properties = new AddressProperties(); $properties->setId(496093); $properties->setType("building"); //result print_r($object::create($properties)->getResult());
İç Kapı
$properties = new AddressProperties(); $properties->setId(8122892); $properties->setType("door"); //result print_r($object::create($properties)->getResult());
UAVT Kodundan adres getirme
$properties = new AddressProperties(); $properties->setId(1315919009); $properties->setType("uavt"); //result print_r($object::create($properties)->getResult());