czechphp / ico-validator
Validator for IČO or taxpayer identification number in the Czech Republic
Installs: 29 263
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.1 || ^8.0
Requires (Dev)
- phpunit/phpunit: ^7.0 || ^8.0
This package is auto-updated.
Last update: 2024-12-20 20:49:40 UTC
README
Czech: Validátor identifikačního čísla osoby IČO
Installation
Install the latest version with
$ composer require czechphp/ico-validator
Basic usage
<?php use Czechphp\ICOValidator\ICOValidator; $validator = new ICOValidator(); $violation = $validator->validate('25596641'); if ($violation === ICOValidator::ERROR_NONE) { // valid }