napp/nova-vat-validation

A Laravel Nova EU VAT field.

1.0.2 2018-08-24 09:03 UTC

This package is auto-updated.

Last update: 2024-11-05 19:30:17 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(),