pzinwai/singapore-ic-validator

A fast and easy to use Singapore IC validator.

Installs: 11

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/pzinwai/singapore-ic-validator

1.0.0 2021-01-01 09:38 UTC

This package is auto-updated.

Last update: 2025-12-29 03:20:06 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.