Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Napp/nova-vat-field
EU VAT field for Laravel Nova
https://github.com/Napp/nova-vat-field
laravel nova vat vat-validation
Last synced: 3 months ago
JSON representation
EU VAT field for Laravel Nova
- Host: GitHub
- URL: https://github.com/Napp/nova-vat-field
- Owner: Napp
- Created: 2018-08-24T08:16:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T09:03:38.000Z (about 6 years ago)
- Last Synced: 2024-07-25T09:15:21.020Z (4 months ago)
- Topics: laravel, nova, vat, vat-validation
- Language: PHP
- Size: 33.2 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# EU VAT Field for Laravel Nova
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:
```php
VatValidation::make('vat')
->rules('required', 'string', 'vat')
->hideFromIndex(),
```