Skip to content

makowskid/sg-nric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sg-nric: PHP Singapore NRIC/FIN validator

PHP Singapore NRIC (National Registration Identity Card) or FIN (Foreign Identification Number) validator package

Software License Total Downloads

Install

composer require makowskid/sg-nric

Usage

use Makowskid\SgNric\SgNric;

$validator = new SgNric();

if ($validator->isNricValid($theNric)) {
    // NRIC is valid
    // Your code here...
}

// OR

if ($validator->isFinValid($theFin)) {
    // FIN is valid
    // Your code here...
}

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

About

Singapore NRIC/FIN PHP validator

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages