No description
  • PHP 99.1%
  • Shell 0.9%
Find a file
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
.github Change CI Perf to run on schedule, no runs on PRs 2026-01-30 11:45:06 +00:00
bin Enhance LintSpdxCommand with contributor tracking and header normalization 2026-02-03 15:23:20 +01:00
data Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
docs Add Support for Alphanumeric CNPJ 2026-02-04 13:20:30 +01:00
LICENSES Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
src Add Support for Alphanumeric CNPJ 2026-02-04 13:20:30 +01:00
src-dev Fix SPDX headers in all files 2026-02-03 15:23:23 +01:00
tests Add Support for Alphanumeric CNPJ 2026-02-04 13:20:30 +01:00
.gitattributes Update .gitattributes 2026-02-03 16:22:40 +00:00
.gitignore Introduce phpbench benchmarks and profiles 2026-01-12 23:44:38 +00:00
.readthedocs.yaml Improve syntax highlighting in MkDocs pages 2026-01-05 17:54:43 +01:00
aliases.php Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
codecov.yml Use Pest instead of PHPT files 2024-12-16 17:07:47 +01:00
composer.json Improve Documentation 2026-02-01 22:46:48 +00:00
CONTRIBUTING.md Improve Documentation 2026-02-01 22:46:48 +00:00
LICENSE Introduce REUSE compliance 2026-01-21 06:28:11 +00:00
mkdocs.yml Use awesome-pages to customize the menus 2026-01-26 12:26:06 +01:00
phpbench.json.dist Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
phpcs.xml.dist Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
phpstan.neon.dist Rename library/ to src/ 2026-01-22 13:13:15 +01:00
phpunit.xml.dist Remove mathematical, niche and deprecated validators 2026-01-30 16:08:27 +00:00
README.md Update README.md and README.md-linked headline docs 2026-02-01 22:46:02 +00:00
REUSE.toml Refactor CI Workflows 2026-01-28 17:31:37 +00:00

Respect\Validation

Build Status Code Coverage Latest Stable Version Total Downloads License

The most awesome validation engine ever created for PHP.

  • Complex validation made simple: v::numericVal()->positive()->between(1, 255)->isValid($input).
  • Advanced exception handling.
  • More than 150 (fully tested) validators.

Learn More: