respect-validation/docs/validators
Valdeir S 570ba481b1 Add Support for Alphanumeric CNPJ
Due to the continuous increase in the number of companies and the
imminent exhaustion of available CNPJs (Brazilian taxpayer
identification numbers), the Brazilian Federal Revenue Service is
instituting the alphanumeric CNPJ. The initiative aims to
facilitate the identification of all companies and improve the
business environment, contributing to the economic and social
development of Brazil.

The alphanumeric CNPJ will be assigned, starting in July 2026,
exclusively to new registrations.

Changes:

- Add support for alphanumeric CNPJ validation
- Format code according to PHPCS standards
- Simplify CNPJ conversion to uppercase character array
- Add documentation about CNPJ structure
2026-02-04 13:20:30 +01:00
..
.pages Use awesome-pages to customize the menus 2026-01-26 12:26:06 +01:00
After.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
All.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
AllOf.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Alnum.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Alpha.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
AlwaysInvalid.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
AlwaysValid.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
AnyOf.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ArrayType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ArrayVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Attributes.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Base.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Base64.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Between.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
BetweenExclusive.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Blank.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
BoolType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
BoolVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Bsn.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
CallableType.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Charset.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Circuit.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Cnh.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Cnpj.md Add Support for Alphanumeric CNPJ 2026-02-04 13:20:30 +01:00
Consonant.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Contains.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ContainsAny.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
ContainsCount.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Control.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Countable.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
CountryCode.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Cpf.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
CreditCard.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
CurrencyCode.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Date.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
DateTime.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
DateTimeDiff.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Decimal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Digit.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Directory.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Domain.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Each.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Email.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Emoji.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
EndsWith.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Equals.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Equivalent.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Even.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Executable.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Exists.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Extension.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Factor.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Factory.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
FalseVal.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Falsy.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
File.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Finite.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
FloatType.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
FloatVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Graph.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
GreaterThan.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
GreaterThanOrEqual.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Hetu.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
HexRgbColor.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Iban.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Identical.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Image.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Imei.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
In.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Infinite.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Instance.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
IntType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
IntVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Ip.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Isbn.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
IterableType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
IterableVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Json.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Key.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
KeyExists.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
KeyOptional.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
KeySet.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
LanguageCode.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
LeapDate.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
LeapYear.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Length.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
LessThan.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
LessThanOrEqual.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Lowercase.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Luhn.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
MacAddress.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Masked.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Max.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Mimetype.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Min.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Multiple.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Named.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Negative.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
NfeAccessKey.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Nif.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Nip.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
NoneOf.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Not.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
NullOr.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
NullType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Number.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
NumericVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
ObjectType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Odd.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
OneOf.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Pesel.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Phone.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Pis.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
PolishIdCard.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
PortugueseNif.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Positive.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
PostalCode.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Printable.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Property.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
PropertyExists.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
PropertyOptional.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
PublicDomainSuffix.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Punct.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Readable.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Regex.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
ResourceType.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Roman.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Satisfies.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
ScalarVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Size.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Slug.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Sorted.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Space.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Spaced.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
StartsWith.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
StringType.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
StringVal.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
SubdivisionCode.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Subset.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
SymbolicLink.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Templated.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Time.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Tld.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
TrueVal.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Undef.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
UndefOr.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Unique.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Uppercase.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Url.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Uuid.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Version.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Vowel.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
When.md Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
Writable.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00
Xdigit.md Standardize and improve validation message templates 2026-02-03 19:58:55 +00:00