PHP code example of worksome / uk-tax-code-validator

1. Go to this page and download the library: Download worksome/uk-tax-code-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/ */

    

worksome / uk-tax-code-validator example snippets


$engine = new Engine();
$response = $engine->validate($taxCode);

$response->isValid();

Validator::make($data, [
    'tax_code' => ['