naif/saudi_id_number

Saudi national ID number validation field for laravel nova.

v1.0 2018-08-25 19:06 UTC

This package is not auto-updated.

Last update: 2024-11-12 14:02:34 UTC


README

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.