Download the PHP package cancio-labs/cpf-symfony-validator without Composer
On this page you can find all versions of the php package cancio-labs/cpf-symfony-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cancio-labs/cpf-symfony-validator
More information about cancio-labs/cpf-symfony-validator
Files in cancio-labs/cpf-symfony-validator
Download cancio-labs/cpf-symfony-validator
More information about cancio-labs/cpf-symfony-validator
Files in cancio-labs/cpf-symfony-validator
Vendor cancio-labs
Package cpf-symfony-validator
Short Description A custom Symfony Validator that validates CPF.
License GPL-3.0-or-later
Homepage https://github.com/canciolabs/cpf-symfony-validator
Package cpf-symfony-validator
Short Description A custom Symfony Validator that validates CPF.
License GPL-3.0-or-later
Homepage https://github.com/canciolabs/cpf-symfony-validator
Please rate this library. Is it a good library?
Informations about the package cpf-symfony-validator
CPF Symfony Validator
A custom Symfony Validator that validates CPF.
Requirements
- PHP >= 7.4
Installation
composer require cancio-labs/cpf-symfony-validator
How to use it
Add the CpfConstraint in your entity...
use CancioLabs\Validator\Cpf\CpfConstraint;
#[CpfConstraint]
private ?Cpf $cpf = null;
or add it to a constraint list:
use CancioLabs\Validator\Cpf\CpfConstraint;
$formBuilder->add('cpf', TextType::class, [
'constraints' => [
new CpfConstraint(),
],
]);
All versions of cpf-symfony-validator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
ext-intl Version *
symfony/validator Version ^5.4
cancio-labs/cpf-validation-function Version ^1.0
ext-intl Version *
symfony/validator Version ^5.4
cancio-labs/cpf-validation-function Version ^1.0
The package cancio-labs/cpf-symfony-validator contains the following files
Loading the files please wait ....