PHPackages                             korfra/identika - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. korfra/identika

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

korfra/identika
===============

PHP package for validating, parsing, and generating Indonesian identity numbers efficiently

v2.0.0(2w ago)023↓50%MITPHPPHP ^8.4

Since May 24Pushed 2w agoCompare

[ Source](https://github.com/korfra/identika)[ Packagist](https://packagist.org/packages/korfra/identika)[ RSS](/packages/korfra-identika/feed)WikiDiscussions main Synced 1w ago

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

Identika
========

[](#identika)

[![PHP Version](https://camo.githubusercontent.com/d99323f769f72040b693c48a2dfaa9b767bae7f8dc307ac17c678e033fe4bdd8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342b2d626c75652e737667)](https://php.net)[![License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![Tests](https://camo.githubusercontent.com/3ea28a5c86c5ab00e29f47fa4bfe21923c02ac926cabb0bd411b5e3ba6d4037f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d36332532307061737365642d627269676874677265656e2e737667)](https://github.com/korfra/identika)[![Performance](https://camo.githubusercontent.com/695a6ca72eb2a84eaa7c3500a178156a7a2b5c550bbc33ffce259067b208c5d6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506572666f726d616e63652d4f7074696d697a65642d6f72616e67652e737667)](https://github.com/korfra/identika)[![Coverage](https://camo.githubusercontent.com/f751cf9ce74c566617800f7e88d9896e9bd6e07fad747e3144ae9ef03e880788/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d3130302532352d627269676874677265656e2e737667)](https://github.com/korfra/identika)

A high-performance PHP package for validating, parsing, and generating Indonesian identity numbers (NIK and KK) with PHP 8.4 features and optimized performance.

🚀 Features
----------

[](#-features)

- **NIK (Nomor Induk Kependudukan)** validation and parsing
- **KK (Kartu Keluarga)** validation and parsing
- **PHP 8.4** optimized with modern features
- **High Performance** with intelligent caching
- **Offline Operation** - no internet connection required
- **Comprehensive Data** - age, gender, address, postal code
- **Type Safety** with strict type declarations
- **Error Handling** with detailed validation messages
- **Random Generation** for testing and development

📦 Installation
--------------

[](#-installation)

```
composer require korfra/identika
```

🎯 Quick Start
-------------

[](#-quick-start)

### NIK Validation

[](#nik-validation)

```
