PHP TKGM API Service
Find a file
Muhammed Burak AKTUNA dd046ee250
Update README.md
2023-04-08 22:19:44 +03:00
examples Update dependencies and refactor TKGMService class to implement ITKGMService interface, add abstract class TKGMServiceAbstract to reduce code duplication, and add unit tests for all ITKGMService methods 2023-04-08 22:06:02 +03:00
src Update dependencies and refactor TKGMService class to implement ITKGMService interface, add abstract class TKGMServiceAbstract to reduce code duplication, and add unit tests for all ITKGMService methods 2023-04-08 22:06:02 +03:00
tests Update dependencies and refactor TKGMService class to implement ITKGMService interface, add abstract class TKGMServiceAbstract to reduce code duplication, and add unit tests for all ITKGMService methods 2023-04-08 22:06:02 +03:00
.editorconfig Initial Commit 2020-09-27 16:28:00 +03:00
.gitattributes Initial Commit 2020-09-27 16:28:00 +03:00
.gitignore Initial Commit 2020-09-27 16:28:00 +03:00
.scrutinizer.yml Initial Commit 2020-09-27 16:28:00 +03:00
.styleci.yml Initial Commit 2020-09-27 16:28:00 +03:00
.travis.yml Update .travis.yml 2020-09-27 17:23:26 +03:00
CHANGELOG.md Initial Commit 2020-09-27 16:28:00 +03:00
composer.json Update dependencies and refactor TKGMService class to implement ITKGMService interface, add abstract class TKGMServiceAbstract to reduce code duplication, and add unit tests for all ITKGMService methods 2023-04-08 22:06:02 +03:00
CONTRIBUTING.md Initial Commit 2020-09-27 16:28:00 +03:00
LICENSE.md Initial Commit 2020-09-27 16:28:00 +03:00
phpunit.xml.dist Initial Commit 2020-09-27 16:28:00 +03:00
README.md Update README.md 2023-04-08 22:19:44 +03:00

TKGM (Tapu Kadastro Genel Müdürlüğü) API Service For PHP

Latest Version on Packagist Build Status Quality Score Total Downloads

With this package, you can easily perform operations such as parcel inquiry, provincial list, district list, and neighborhood list from TKGM API.

Installation

You can install the package via composer:

composer require burakaktna/tkgmservice

Usage

Print the list of provinces

require_once 'vendor/autoload.php';

use Burakaktna\TKGMService\TKGMService;

$tkgmService = new TKGMService();
$provinces = $tkgmService->getProvinces();

print_r($provinces);

Print the list of districts

require_once 'vendor/autoload.php';

use Burakaktna\TKGMService\TKGMService;

$tkgmService = new TKGMService();
$districts = $tkgmService->getDistricts(int $provinceId);

print_r($districts);

Print the list of neighborhoods

require_once 'vendor/autoload.php';

use Burakaktna\TKGMService\TKGMService;

$tkgmService = new TKGMService();
$neighborhoods = $tkgmService->getNeighborhoods(int $districtId);

print_r($neighborhoods);

Parcel inquiry

require_once 'vendor/autoload.php';

use Burakaktna\TKGMService\TKGMService;

$tkgmService = new TKGMService();
$parcel = $tkgmService->parcelInquiry(int $neighborhoodId, int $bobId, int $parcelId);

print_r($parcel);

Also, you can see more examples in the examples folder.

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email burak.aktna@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.