x-adam / tr-citizen-number-verification
Turkey citizen number (TC No) verification class.
v4.0.0
2020-12-27 16:21 UTC
Requires
- php: >=7.4
- ext-soap: *
- x-adam/tr-citizen-number-validation: >=4
- x-adam/tr-string: >=3
README
Introduction
Turkey citizen number (TC No) verification class. It uses the tckimlik.nvi.gov.tr service to work.
Requirements
- PHP >=7.4
- PHP SOAP extension have to be loaded.
Other than that, this library has no requirements.
Install
$ composer require x-adam/tr-citizen-number-verification:"~4"
Example Usage
include "./vendor/autoload.php"; $result = XAdam\TrCitizenNumberVerification::verify(12345678901, 1992, 'Mehmet', 'ÖĞMEN'); var_dump($result); # Result: bool(false)
License
This package is open source software licensed under the MIT license.