cryonighter/inn-checksum

This package validates the Russian Tax Identification Number of Legal Persons, Individual Entrepreneurs and Individual Person

1.0.0 2018-02-20 01:20 UTC

This package is not auto-updated.

Last update: 2024-11-15 03:09:42 UTC


README

Latest Version on Packagist Software License Total Downloads

This package validates the Russian Tax Identification Number of Legal Persons, Individual Entrepreneurs and Individual Person

Highlights

  • Simple API
  • Framework Agnostic
  • Composer ready, PSR-2 and PSR-4 compliant

System Requirements

You need:

  • PHP >= 7.1.0 but the latest stable version of PHP is recommended
  • The pcre extension

Install

Via Composer

$ composer require cryonighter/inn-checksum

Usage

use Cryonighter\InnChecksum\InnChecker;

if (InnChecker::check('1234567890')) {
    // Your code
}

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ php vendor/phpunit/phpunit/phpunit tests

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email cryonighter@yandex.ru instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.