bensondevs

Indonesian NIK validation for PHP/Laravel using compiled wilayah data.

12
8
100% credibility
Found May 15, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
PHP
AI Summary

A tool for checking the validity of Indonesian citizen ID numbers (NIK from KTP), verifying format, birth details, gender, age, and regional locations using built-in data.

How It Works

1
📰 Discover the ID Checker

You hear about a simple tool that checks if Indonesian ID numbers (like on KTP cards) are real and correct.

2
📦 Add It to Your Setup

You easily bring the checker into your system so it can start working right away.

3
🔍 Try Checking an ID

You enter an ID number and see if its basic format and location details match real ones.

4
👤 Add Personal Details

You compare the ID to things like birth date, gender, or home region for extra confidence.

5
📋 Review the Results

You get a clear yes or no, plus details on what passed or failed each check.

6
🛡️ Protect Your Forms

Now your sign-up or customer forms automatically spot fake or wrong IDs.

🎉 Trustworthy Data

You feel secure knowing all IDs are genuine, making your service reliable and safe.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is indonesian-ktp?

This PHP package for Laravel validates Indonesian KTP NIK numbers—your indonesia nik number or indonesian identity card ktp—with structural checks like length, digits, birth date, and gender encoding, plus region hierarchy using bundled wilayah data. No database or external API needed; just drop in compiled regions for province, regency, and subdistrict lookup. Fluent API lets you chain expectations: KTP::nik($nik)->expectBirthDate('1990-01-15')->expectGender('male')->isValid().

Why is it gaining traction?

Zero-setup region validation beats scraping APIs or managing SQL dumps, with fuzzy matching for indonesian ktp province names like "Jawa Tengah" or codes. Handles two-digit birth years smartly via asOf() for age/minimum-age checks (17+ or 21+), plus parsed outputs for display names and quick matchers. Eloquent trait adds model methods like hasValidNik() or nikGenderIs($gender) for seamless form validation.

Who should use this?

Laravel devs building Indonesian user registration, KYC flows in fintech/e-commerce, or applicant models cross-checking indonesian ktp number against DOB, gender, or address. Ideal for HR apps verifying employee indonesian identity card ktp or discount eligibility for KTP holders.

Verdict

Grab for targeted indonesian nik validation—docs are detailed, tests solid—but low 12 stars and 1.0% credibility score mean it's early; fork or contribute if scaling Indonesian apps.

(178 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.