Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Facets 3.0.7 Minor update available for module facets (3.0.7). Release: Superfish Dropdown Menu 8.x-1.16 Minor update available for module superfish (8.x-1.16). Release: Burndown 1.0.78 Minor update available for module burndown (1.0.78). Release: Prototype 5.6.0 Minor update available for theme prototype (5.6.0). Release: Prototype 5.5.1 Minor update available for theme prototype (5.5.1). Release: Native Observability 1.1.0 Minor update available for module native_observability (1.1.0). Release: Educare theme 1.0.0 Initial release available for theme vartheme_bs5_educare (1.0.0)! Release: Webform Integration for MailerLite 1.1.0 Minor update available for module clicksyncr_mailerlite (1.1.0). Usage Milestone: Shortcode Module shortcode crossed 1,000 active installs. Module Revived: Entity Add Another 1.1.0 Module entity_add_another updated after 15 months of inactivity (1.1.0).

Saudi ID Validator

1 sites No security coverage Drupal 10–11
View on drupal.org

This module validates Saudi National ID and Iqama numbers offline. It checks the format, distinguishes between citizen and resident IDs, and verifies the checksum.

Saudi ID Validator validates Saudi National ID and Iqama (residency) numbers entirely offline — no external service is called. It checks the length and shape, distinguishes a citizen ID from an Iqama by its leading digit, and verifies the official Luhn checksum.

Features

  • Offline validation of Saudi National ID and Iqama numbers (format, type and checksum).
  • A reusable, dependency-injected validation service for your own code.
  • A Form API #element_validate callback for form fields.
  • An entity/typed-data constraint (SaudiId) so stored values are validated wherever they are written.
  • Type detection: citizen vs. resident.

Post-Installation

Enable the module and use the saudi_id_validator.validator service, the Form API element validator, or the SaudiId constraint on a field. No configuration is required.

Additional Requirements

Drupal core only, no contributed dependencies and no network access. PHP 8.3 or newer. Compatible with Drupal 10.3+ and Drupal 11.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

1 tracked project depends on this one

Activity

Tracked releases
3
Tracked since
Jul 2026
Latest release
2 weeks ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.1.0 Stable 10–11 Aug 18, 2026
1.0.1 Stable 10–11 Jul 23, 2026
1.0.0 Stable 10–11 Jul 23, 2026