PHP code example of amondi-media / laravel-evatr
1. Go to this page and download the library: Download amondi-media/laravel-evatr library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
amondi-media / laravel-evatr example snippets
use AmondiMedia\VatValidator\Rules\ValidVatNumber;
$rules = [
'vat_number' => ['
$rules = [
'vat_number' => ['
$rules = [
'country_code' => ['valid_vat_number:country_code,vat_number'],
];
bash
php artisan vendor:publish --provider="AmondiMedia\VatValidator\Providers\VatValidatorServiceProvider"