PHP code example of umitbilgin / tckimlikdogrula

1. Go to this page and download the library: Download umitbilgin/tckimlikdogrula 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/ */

    

umitbilgin / tckimlikdogrula example snippets




$dogrula = new \TCKimlikDogrula\TCKimlikDogrula;

if($dogrula->check("11111111111","ÜMİT","BİLGİN","2000")) {
    echo "TC Kimlik Numarası Doğrulandı";
} else {
    echo "TC Kimlik Numarası Hatalı";
}