kangyasin / ktp-nik-convert
Cek Nomor induk kewarganegaraan Indonesia untuk jenis kelamin, tanggal lahir dan alamat/daerah tinggal berdasarkan nomor NIK KTP
v1.0
2022-07-14 02:15 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Save time and take advantage of a set of dynamical, ready-to-use. Found this package helpful ? Please consider supporting my work!
Package laravel Check National Identity Number to Identity gender, birth of date, and region in Indonesia.
Table of Contents
Installation
You can install the package via composer:
composer require kangyasin/ktp-nik-convert
Usage
<?php use Kangyasin\KTPNIKConvert\NikConvert; $nik = '6408132511960005'; $nikConvert= new NikConvert(); return $nikConvert->convert($nik);
Response
{
"nik": "6408132511960005",
"province": {
"code": "64",
"name": "Kalimantan Timur"
},
"city": {
"code": "08",
"name": "Kabupaten Kutai Timur"
},
"district": {
"code": "13",
"name": "Teluk Pandan"
},
"date_of_birth": "25-11-1996",
"gender": "Male"
}
Documentation
Please refer to our extensive Wiki documentation for more information.
