Recommend this page to a friend! |
Download .zip |
Info | Documentation | View files (14) | Download .zip | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 26 | All time: 11,071 This week: 107 |
Version | License | PHP version | Categories | |||
nova-saudi-id-number 1.0 | Custom (specified... | 5 | HTML, PHP 5, Validation |
Description | Author | |
This package is specific mainly for applications used in Saudi Arabia .
This package provides a component to validate ID numbers for people from Saudi Arabia. |
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'),
naif@naif.io
https://www.linkedin.com/in/naif
The MIT License (MIT). Please see License File for more information.
Files |
File | Role | Description | ||
---|---|---|---|---|
dist (1 directory) | ||||
resources (2 directories) | ||||
src (2 files) | ||||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
mix-manifest.json | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
webpack.mix.js | Data | Auxiliary data |
Files | / | resources | / | js | / | components |
File | Role | Description |
---|---|---|
DetailField.vue | Data | Auxiliary data |
FormField.vue | Data | Auxiliary data |
IndexField.vue | Data | Auxiliary data |
Files | / | src |
File | Role | Description |
---|---|---|
FieldServiceProvider.php | Class | Class source |
SaudiIdNumber.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.