Laravel Nova Saudi ID Number Validation: Validate ID numbers for people from Saudi Arabia

Recommend this page to a friend!
  Info   Documentation   View files (14)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 18 All time: 9,999 This week: 335
Version License PHP version Categories
nova-saudi-id-number 1.0Custom (specified...5HTML, PHP 5, Validation
Description Author
This package is specific mainly for applications used in Saudi Arabia Saudi Arabia .

This package provides a component to validate ID numbers for people from Saudi Arabia.

It can generate HTML and JavaScript for displaying a form input field to let the user enter the ID number of a citizen of Saudi Arabia.

A JavaScript library provided with the package validates the ID number on the browser side.

Picture of Naif Alshaye
  Performance   Level  
Name: Naif Alshaye <contact>
Classes: 20 packages by
Country: Saudi Arabia Saudi Arabia
Age: ???
All time rank: 21739 in Saudi Arabia Saudi Arabia
Week rank: 61 1 in Saudi Arabia Saudi Arabia
Innovation award
Innovation award
Nominee: 6x

Details

Nova Saudi ID Number validation field

Saudi national ID number validation field for Laravel Nova, Just for the frontend it will not prevent from submitting the form.

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require naif/saudi_id_number

Usage:

Add the below to Nova/User.php resource:


SaudiIdNumber::make('id_number')
                ->rules('min:10', 'max:10'),
                

Credits

Abdul-Aziz Al-Oraij

Support:

naif@naif.io

https://www.linkedin.com/in/naif

License

The MIT License (MIT). Please see License File for more information.

  Files  
File Role Description
dist (1 directory)
resources (2 directories)
src (2 files)
composer.json Data Auxiliary data
LICENSE Lic. License text
mix-manifest.json Data Auxiliary data
package.json Data Auxiliary data
README.md Doc. Documentation
webpack.mix.js Data Auxiliary data

  Files  /  dist  
File Role Description
js (1 file)

  Files  /  dist  /  js  
File Role Description
   field.js Data Auxiliary data

  Files  /  resources  
File Role Description
js (1 file, 1 directory)
sass (1 file)

  Files  /  resources  /  js  
File Role Description
components (3 files)
   field.js Data Auxiliary data

  Files  /  resources  /  js  /  components  
File Role Description
   DetailField.vue Data Auxiliary data
   FormField.vue Data Auxiliary data
   IndexField.vue Data Auxiliary data

  Files  /  resources  /  sass  
File Role Description
   field.scss Data Auxiliary data

  Files  /  src  
File Role Description
   FieldServiceProvider.php Class Class source
   SaudiIdNumber.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:18
This week:0
All time:9,999
This week:335

For more information send a message to info at phpclasses dot org.