naif / saudi_id_number
Saudi national ID number validation field for laravel nova.
Installs: 519
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Language:Vue
Requires
- php: >=7.1.0
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
Support:
https://www.linkedin.com/in/naif
License
The MIT License (MIT). Please see License File for more information.