antonioturdo / italia-bundle
A symfony bundle that helps development taking into account italian laws.
Installs: 37
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.0.8
- davidepastore/codice-fiscale: ^0.3.0
- fdisotto/partita-iva: ^3.0
- sorciulus/check-partita-iva: ^0.1.1
- symfony/config: ^3.4|^4.0
- symfony/dependency-injection: ^3.4|^4.0
- symfony/framework-bundle: ^3.4|^4.0
This package is auto-updated.
Last update: 2024-11-19 18:31:27 UTC
README
A symfony bundle that helps development taking into account italian laws.
Installation
Via Composer:
composer require antonioturdo/italia-bundle
Constraints
Constraints made available by this bundle to check the value of properties or the return value of methods on your object:
- AntonioTurdo\Bundle\ItaliaBundle\Constraints\CodiceFiscale
- AntonioTurdo\Bundle\ItaliaBundle\Constraints\PartitaIVA (with a "method" option that can take two values: "formal" and "existence")
- AntonioTurdo\Bundle\ItaliaBundle\Constraints\CAP
Services
- AntonioTurdo\Bundle\ItaliaBundle\Service\CodiceFiscale (formal validation and inverse calculation)
- AntonioTurdo\Bundle\ItaliaBundle\Service\PartitaIVA (formal validation and existence)
- AntonioTurdo\Bundle\ItaliaBundle\Service\CAP (formal validation)