Downloads
Stars
Version
Saudi national ID number validation field for Laravel Nova, Just for the frontend it will not prevent from submitting the form.
You can install the package in to a Laravel app that uses Nova via composer:
composer require naif/saudi_id_number
Add the below to Nova/User.php resource:
SaudiIdNumber::make('id_number')
->rules('min:10', 'max:10'),
https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.