PHPackages                             nurmanhabib/nik-parser - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. nurmanhabib/nik-parser

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

nurmanhabib/nik-parser
======================

Parsing of NIK

v1.0.0(4y ago)048MITPHP

Since Oct 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/nurmanhabib/nik-parser)[ Packagist](https://packagist.org/packages/nurmanhabib/nik-parser)[ RSS](/packages/nurmanhabib-nik-parser/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

NIK Parser (Indonesia)
======================

[](#nik-parser-indonesia)

NIK Parser is used to parse a Population Identification Number that is valid in Indonesia or commonly called NIK. NIK is an arrangement of numbers that have meaning. Each NIK may contain information:

- Area of origin (village, sub-district, city/district, and provincial level)
- Sex (male or female)
- Date of birth

This process only relies on information from the ID code, there is no need to connect to the Dukcapil service. Especially for parsing the area of origin requires a valid area database issued by the Ministry of Home Affairs (I am currently developing it)

Installation
------------

[](#installation)

Use the package manager [composer](https://getcomposer.org) to install nik-parser.

```
composer require nurmanhabib/nik-parser
```

Usage
-----

[](#usage)

```
