top7up / ID

This class can be used to validate Saudi resident identifier numbers. It takes a resident identifier number and calculates a checksum to verify whether it may be a valid number. It returns either 1 (for Saudis), 2 (for non-Saudis) or FALSE (for invalid numbers).
12Updated 2 months ago

Related projects

Alternatives and complementary repositories for ID