https://github.com/64robots/nova-dni-field
Spanish DNI / NIF / CIF Field for Laravel Nova
https://github.com/64robots/nova-dni-field
Last synced: about 1 year ago
JSON representation
Spanish DNI / NIF / CIF Field for Laravel Nova
- Host: GitHub
- URL: https://github.com/64robots/nova-dni-field
- Owner: 64robots
- Created: 2018-08-26T21:09:40.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-16T12:46:39.000Z (over 7 years ago)
- Last Synced: 2025-04-11T18:56:44.430Z (about 1 year ago)
- Language: PHP
- Size: 32.2 KB
- Stars: 8
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-spain - nova-dni-field - dni-field?style=flat-square&label=%E2%AD%90)](https://github.com/64robots/nova-dni-field/stargazers) [](https://github.com/64robots/nova-dni-field/commits/master) [](https://github.com/64robots/nova-dni-field) [](https://github.com/64robots/nova-dni-field/blob/master/LICENSE) [](https://www.interior.gob.es/) - Campo DNI/NIF/CIF para Laravel Nova. (Validación de Documentos / Metro y Cercanías)
README
# Spanish DNI / NIF / CIF Field for Laravel Nova
This field provides built-in validation for spanish DNI, NIF and CIF.
### Install
Run this command into your nova project:
`composer require r64/nova-dni-field`
### Add it to your Nova Resource:
```php
use R64\NovaDniField\Dni;
Dni::make('vat'),
```