antonioturdo/italia-bundle

此包的最新版本(dev-master)没有可用的许可信息。

一个symfony扩展包,帮助开发时考虑意大利法律。

安装: 37

依赖者: 0

建议者: 0

安全: 0

星星: 0

关注者: 2

分支: 1

开放问题: 0

类型:symfony-bundle

dev-master / 1.0.x-dev 2020-02-18 19:34 UTC

This package is auto-updated.

Last update: 2024-09-19 18:08:07 UTC


README

一个symfony扩展包,帮助开发时考虑意大利法律。

安装

通过Composer

composer require antonioturdo/italia-bundle

约束

此扩展包提供的约束,用于检查对象属性值或方法返回值

  • AntonioTurdo\Bundle\ItaliaBundle\Constraints\CodiceFiscale
  • AntonioTurdo\Bundle\ItaliaBundle\Constraints\PartitaIVA (具有"method"选项,可以取两个值:"formal"和"existence")
  • AntonioTurdo\Bundle\ItaliaBundle\Constraints\CAP

服务

  • AntonioTurdo\Bundle\ItaliaBundle\Service\CodiceFiscale (正式验证和逆计算)
  • AntonioTurdo\Bundle\ItaliaBundle\Service\PartitaIVA (正式验证和存在性验证)
  • AntonioTurdo\Bundle\ItaliaBundle\Service\CAP (正式验证)