Skip to content

PHP function for validate the national identity card number of Sri Lanka.

Notifications You must be signed in to change notification settings

Wishva/Sri_Lanka_NIC_validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

This is coded using PHP and you can use this in your projects.
Add the NIC number as the $nic variable and if it is a valid one the code will throw true and if it is not will throw false
This is a bit larger code just clone it and try to make it small or try to write a regular expression to validate NIC
good luck!!

--Wishva Weerasekara--

About

PHP function for validate the national identity card number of Sri Lanka.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages