Since we are using this library ( https://github.com/top7up/ID ) to validate Saudi ID numbers. I suggest to autoload it as a required library.

So, please create a composer file for this module.

Comments

samaphp created an issue. See original summary.

samaphp’s picture

I just mirrored https://github.com/top7up/ID on packagist.com temporary.

The package name is: samaphp/testid

composer require samaphp/testid

samaphp’s picture

The official package has been created now and available here:
https://packagist.org/packages/top7up/id

composer require top7up/id

Will update the code soon

  • samaphp committed a64c90d on 8.x-2.x
    Change samaphp/id to the official package top7up/id. #3078448
    
samaphp’s picture

Issue tags: +drupalsaudi, +Masdar
samaphp’s picture

Status: Active » Needs review
Issue tags: +sprint, +SprintDrupalSaudi

This seems already finished. I will switch it to needs review.

* I'm reviewing this as part of Sprint #6 https://groups.drupal.org/node/536228

hamadm’s picture

Assigned: samaphp » hamadm
hamadm’s picture

Assigned: hamadm » Unassigned
Status: Needs review » Reviewed & tested by the community

tested @samaphp

samaphp’s picture

Assigned: Unassigned » samaphp
3ssom’s picture

Assigned: samaphp » 3ssom
Status: Reviewed & tested by the community » Fixed

This will be in the new release!

3ssom’s picture

Status: Fixed » Closed (fixed)
3ssom’s picture