PHP code example of raigu / company-registry-code-validation

1. Go to this page and download the library: Download raigu/company-registry-code-validation 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/ */

    

raigu / company-registry-code-validation example snippets



\Raigu\is_valid_company_registry_code('12213008')) {
    echo 'Valid company registry code';
} else {
    echo 'Invalid company registry code';
}