The Validator Bundle usable with the symfony validation component for validation of CZ IC based on the code written by David Grudl.
Install with composer
require visionappscz/cz-ic-validator-bundle
# validation/Company.yml
AppBundle\Entity\Company:
properties:
companyId:
- CZICValidator\Validator\CompanyId: ~
See the documentation for more information about the syntax of definitions of validation rules.