1. Go to this page and download the library: Download burakaktna/tkgmservice 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/ */
burakaktna / tkgmservice example snippets
use Burakaktna\TKGMService\TKGMService;
$tkgmService = new TKGMService();
$provinces = $tkgmService->getProvinces();
print_r($provinces);
use Burakaktna\TKGMService\TKGMService;
$tkgmService = new TKGMService();
$districts = $tkgmService->getDistricts(int $provinceId);
print_r($districts);
use Burakaktna\TKGMService\TKGMService;
$tkgmService = new TKGMService();
$neighborhoods = $tkgmService->getNeighborhoods(int $districtId);
print_r($neighborhoods);
use Burakaktna\TKGMService\TKGMService;
$tkgmService = new TKGMService();
$parcel = $tkgmService->parcelInquiry(int $neighborhoodId, int $bobId, int $parcelId);
print_r($parcel);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.