Skip to main content

LK NIC Validator for PHP

by Teknyo (pvt) LtdPublished Developer

LK NIC Validator for PHP is a free PHP library for its API, made in Sri Lanka by Teknyo (pvt) Ltd.

Made in Colombo
Runs on:
API or SDK
Made for:
Developers

At a glance

Price
Free
Languages
English
Without the internet
Partly works offlineRequires an active internet connection during installation to fetch dependencies from Packagist.
Try it first
Free to use
Help after you buy
Email, in English
LK NIC Validator for PHP: screenshot 1 of 1
ContactVisit website

This app is free to use. If the developer ever charges for anything, you pay them directly; AppKade doesn’t process payments.

Overview

Sri Lanka NIC number validator and details extractor for PHP

LK NIC Validator for PHP is a lightweight PHP 8.0+ library that validates Sri Lankan National Identity Card (NIC) numbers across both the old 10-character (9 digits + V/X) and new 12-digit formats. It performs comprehensive format and logical date checks while extracting the holder's birth date, gender, age, and normalized NIC format. Install easily via Composer: composer require teknyo/lk-nic-validator-php

Contact the developer

Ask about LK NIC Validator for PHP

Your message goes to the developer, who handles the sale and support. Before you pay, read how to stay safe.

0/2000

At least 20 characters, so the developer can answer properly.

By sending, you ask us to pass your name, email, phone (if given) and message to the developer of LK NIC Validator for PHP so they can reply. See how enquiries are handled.

Details

Pricing
Free
Where it runs
API or SDK
Made for
Developers
Languages
English
Developer
Teknyo (pvt) LtdVerified developerVerified developer: AppKade confirmed their website or GitHub account and their mobile number. What the levels mean
Listed on
23 November 2026
Last updated
25 November 2026

Reviewed by AppKade, last on 25 November 2026. A review is not an endorsement or a security audit. The app is sold and supported by its developer; AppKade doesn’t process purchases. Something wrong? . How reviews work

No reviews yet. Reviews on AppKade come only from buyers who contacted the developer about LK NIC Validator for PHP, and each one is checked before it’s published.

Questions and answers

What are the PHP version requirements and how do I install it?

From Teknyo (pvt) Ltd

The package requires PHP 8.0 or higher. You can install it directly into your project via Composer using: composer require teknyo/lk-nic-validator-php

Which Sri Lankan NIC formats does this library support?

From Teknyo (pvt) Ltd

It supports both the legacy 10-character format (9 digits followed by V or X, case-insensitive) and the newer 12-digit format introduced in 2016.

What information can be extracted from a valid NIC number?

From Teknyo (pvt) Ltd

Once validated, the library extracts the cardholder's exact date of birth, gender (Male or Female), current age, and can convert old 10-character NIC numbers into their standardized 12-digit equivalent.

Does the library verify whether the NIC number is actually registered with the government?

From Teknyo (pvt) Ltd

No. It performs offline structural, checksum/digit logic, and calendar date validation (including leap years) to ensure the number is mathematically and logically valid, without connecting to external government databases.

Updates

Every change to this listing is checked by AppKade before it goes live.

  1. Updated package listing with a concise title, description and FAQs

    Changed: name, description, platforms, languages and offline use, category, audience and tags, questions and answers, customer support.

  2. Listed on AppKade.

Can’t find the app you need?

Build it and list it on AppKade. We help independent developers get their apps in front of the people who need them.

List your app