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. http://aziz.oraij.com

Maintainers

Package info

github.com/top7up/ID

pkg:composer/top7up/id

Statistics

Installs: 787

Dependents: 0

Suggesters: 0

Stars: 12

Open Issues: 0

1.1 2019-09-01 16:29 UTC

This package is not auto-updated.

Last update: 2026-03-11 02:54:10 UTC


README

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).