PHP code example of donyahmd / ktp-parser

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

    

donyahmd / ktp-parser example snippets




use Donyahmd\Ktp\NikParser;

$nik = '6408132511960005';
$nikParser= new NikParser();

return $nikParser->parse($nik);