Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 27 | All time: 11,177 This week: 455 |
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 (14) |
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 (14) | / | resources | / | js | / | components |
File | Role | Description |
---|---|---|
DetailField.vue | Data | Auxiliary data |
FormField.vue | Data | Auxiliary data |
IndexField.vue | Data | Auxiliary data |
Files (14) | / | src |
File | Role | Description |
---|---|---|
FieldServiceProvider.php | Class | Class source |
SaudiIdNumber.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.