PHP code example of davidvandertuijn / eori
1. Go to this page and download the library: Download davidvandertuijn/eori 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/ */
davidvandertuijn / eori example snippets
use Davidvandertuijn\Eori\Validator as EoriValidator;
$eori = new EoriValidator;
$eori->validate('NL857117683'); // true
if ($eori->isValid()) {
// true
}
$eori->setStrict(false); // default = true