Skip to content

raigu/company-registry-code-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version GitHub license Total Downloads build

Company Registry Code Validation

Validation of Estonian company registry code

Compatibility

PHP 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5

Maintainability

This packages aims to have long life. It has zero dependencies.

Tests are written manually because testing tools do not support the range of the PHP versions supported by this package.

Automated test covers all the supported PHP versions.

Install

composer require raigu/company-registry-code-validation

Usage

<?php
require_once __DIR__ . '/vendor/autoload.php';

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

Testing

$ composer test

License

Licensed under MIT

About

Estonian company registry code validation

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages