GitHub repository: top7up/ID
Primary language: PHP
Description: 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).