PHP code example of spyrmp / greek-vat-number-validator

1. Go to this page and download the library: Download spyrmp/greek-vat-number-validator 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/ */

    

spyrmp / greek-vat-number-validator example snippets


\Spyrmp\GreekVatNumberValidator\GreekVatNumberValidatorProvider::class,

$rule= [
       "field"=>"greek_vat_validator"
];
$inputs = $request->all();
$validation = Validator::make($inputs, $rule);

php artisan vendor:publish --provider="Spyrmp\GreekVatNumberValidator\GreekVatNumberValidatorProvider" --tag="greek-vat-number-validator"