napp / nova-vat-validation
A Laravel Nova EU VAT field.
Installs: 9 587
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- php: >=7.1.0
This package is auto-updated.
Last update: 2024-12-05 19:40:35 UTC
README
This introduces a EU VAT validation field for Laravel Nova.
The field will validate on client side and server side.
Install
You need to run the following command:
composer require napp/nova-vat-validation
Add the field to your Resource file:
VatValidation::make('vat') ->rules('required', 'string', 'vat') ->hideFromIndex(),