https://github.com/irsyadulibad/nik-validator
Indonesian citizenship identification number Validator
https://github.com/irsyadulibad/nik-validator
nik nik-validator php
Last synced: 3 months ago
JSON representation
Indonesian citizenship identification number Validator
- Host: GitHub
- URL: https://github.com/irsyadulibad/nik-validator
- Owner: irsyadulibad
- License: mit
- Created: 2021-03-27T01:40:42.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-08T14:51:27.000Z (over 1 year ago)
- Last Synced: 2025-02-07T00:51:19.434Z (3 months ago)
- Topics: nik, nik-validator, php
- Language: PHP
- Homepage:
- Size: 141 KB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nik-validator
NIK Validator is a package to convert Indonesian citizenship identity number into usefull information. You just call the **parse** method and input NIK number in the parameter, then you will get the informations (without internet connection).## Usage
* Installation
```
composer require irsyadulibad/nik-validator
```* Example
```php
generate();
$parsed = Validator::set($nik)->parse();if($parsed->valid) {
var_dump($parsed);
}
```