PHP code example of mertkose / tc-kimlik-no-sorgula

1. Go to this page and download the library: Download mertkose/tc-kimlik-no-sorgula 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/ */

    

mertkose / tc-kimlik-no-sorgula example snippets




use Sorgula\Sorgula;

$veri = new Sorgula();

echo $veri->tc_sorgula("0000000000","mert","köse","1992");
// Doğrulama doğruysa 1,hatalıysa 0 değeri döndürür.