antonioturdo/italia-bundle

There is no license information available for the latest version (dev-master) of this package.

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

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

This package is auto-updated.

Last update: 2024-10-19 18:15:50 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)