pzinwai / singapore-ic-validator
A fast and easy to use Singapore IC validator.
Package info
github.com/pzinwai/php-singapore-ic-validator
pkg:composer/pzinwai/singapore-ic-validator
1.0.0
2021-01-01 09:38 UTC
Requires
- php: >=5.3.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-29 02:27:36 UTC
README
A fast and easy to use Singapore IC validator.
Requirements
PHP >= 5.3.0
Installation
composer require pzinwai/singapore-ic-validator
Usage
use pzinwai\SingaporeICValidator\SingaporeICValidator; $result = SingaporeICValidator::validateNRIC("SXXXXXXXZ");
If the returned value is true, then validation succeeds.
If the returned value is false, then validation fails.