1. Go to this page and download the library: Download hamzaemre/class.tkgm.php 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/ */
hamzaemre / class.tkgm.php example snippets
el_sorgulama = new ParselSorgulama();
$iller = $parsel_sorgulama->ilListesiGetir();
// il listesini getirir.
print_r($iller);
el_sorgulama = new ParselSorgulama();
$ilceler = $parsel_sorgulama->ilceListeGetir();
// il listesini getirir.
print_r($ilceler);
el_sorgulama = new ParselSorgulama();
$mahalleler = $parsel_sorgulama->mahalleListeGetir();
// il listesini getirir.
print_r($mahalleler);