File: README.md

Recommend this page to a friend!
  Classes of Naif Alshaye  >  Laravel Nova Saudi ID Number Validation  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Laravel Nova Saudi ID Number Validation
Validate ID numbers for people from Saudi Arabia
Author: By
Last change:
Date: 1 year ago
Size: 689 bytes
 

Contents

Download

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.


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