PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 27 All time: 11,177 This week: 455Up
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: 24 packages by
Country: Saudi Arabia Saudi Arabia
Age: ???
All time rank: 18576 in Saudi Arabia Saudi Arabia
Week rank: 180 Up2 in Saudi Arabia Saudi Arabia Up
Innovation award
Innovation award
Nominee: 9x

Documentation

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 folder image Files (14)  
File Role Description
Files folder imagedist (1 directory)
Files folder imageresources (2 directories)
Files folder imagesrc (2 files)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file mix-manifest.json Data Auxiliary data
Accessible without login Plain text file package.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file webpack.mix.js Data Auxiliary data

  Files folder image Files (14)  /  dist  
File Role Description
Files folder imagejs (1 file)

  Files folder image Files (14)  /  dist  /  js  
File Role Description
  Accessible without login Plain text file field.js Data Auxiliary data

  Files folder image Files (14)  /  resources  
File Role Description
Files folder imagejs (1 file, 1 directory)
Files folder imagesass (1 file)

  Files folder image Files (14)  /  resources  /  js  
File Role Description
Files folder imagecomponents (3 files)
  Accessible without login Plain text file field.js Data Auxiliary data

  Files folder image Files (14)  /  resources  /  js  /  components  
File Role Description
  Accessible without login Plain text file DetailField.vue Data Auxiliary data
  Accessible without login Plain text file FormField.vue Data Auxiliary data
  Accessible without login Plain text file IndexField.vue Data Auxiliary data

  Files folder image Files (14)  /  resources  /  sass  
File Role Description
  Accessible without login Plain text file field.scss Data Auxiliary data

  Files folder image Files (14)  /  src  
File Role Description
  Plain text file FieldServiceProvider.php Class Class source
  Plain text file SaudiIdNumber.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:27
This week:0
All time:11,177
This week:455Up