The Validator for validation of CZ IC based on the code written by David Grudl.
Install with composer
require visionappscz/cz-ic-validator
$validator = new CZICValidator();
if ($validator->validate('12345678')) {
echo "IC is valid.";
} else {
echo "IC is not valid!";
}