PHP code example of eventjet / vatin

1. Go to this page and download the library: Download eventjet/vatin 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/ */

    

eventjet / vatin example snippets


$vatin = new Eventjet\Vatin\Vatin('NL123456789B01');

$validator = new Ddeboer\Vatin\Validator;
$factory = new Eventjet\Vatin\VatinFactory($validator);
$vatin = $factory->create('NL123456789B01');