PHPackages                             o2ti/tax-document-validation-br - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. o2ti/tax-document-validation-br

ActiveLibrary

o2ti/tax-document-validation-br
===============================

Implementation of validation for the fiscal document, in the Brazilian standard

100.1.6(4y ago)38.7k↓34.4%1OSL-3.0PHPPHP &gt;=7.3

Since Nov 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/elisei/tax-document-validation-br)[ Packagist](https://packagist.org/packages/o2ti/tax-document-validation-br)[ RSS](/packages/o2ti-tax-document-validation-br/feed)WikiDiscussions Magento@2.4 Synced 1mo ago

READMEChangelogDependencies (11)Versions (18)Used By (1)

Tax Document Validation Br
==========================

[](#tax-document-validation-br)

Implemente validação de documento fiscal (CPF/CNPJ) nas normas brasileiras

Badges
======

[](#badges)

Status Atual

[![Build Status](https://camo.githubusercontent.com/4d0df67658cab38ec38c3c664e95f55be010b562cf6a227dc7fcba4267e58486/68747470733a2f2f6170702e7472617669732d63692e636f6d2f656c697365692f7461782d646f63756d656e742d76616c69646174696f6e2d62722e7376673f6272616e63683d4d6167656e746f253430322e34)](https://app.travis-ci.com/elisei/tax-document-validation-br)[![StyleCI](https://camo.githubusercontent.com/5d8ca57105cf667598089abe47d7718e6241c4bf53437bfd4b0d32ca6dc60f46/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3433323333323239322f736869656c643f6272616e63683d4d6167656e746f40322e34)](https://github.styleci.io/repos/432330655?branch=Magento@2.4)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/94571c42230e583c7b08e7a42c5bd71fc4ef87c66086da088fae2031eff92218/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656c697365692f7461782d646f63756d656e742d76616c69646174696f6e2d62722f6261646765732f7175616c6974792d73636f72652e706e673f623d4d6167656e746f253430322e34)](https://scrutinizer-ci.com/g/elisei/tax-document-validation-br/)[![Codacy Badge](https://camo.githubusercontent.com/5a9ce477dacd710f974b1aebc92db6d36ddc0a6ebb2f9a5b565991c85fe4ee2a/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3933396436646333616331333466623338346236373037356264613935303232)](https://www.codacy.com/gh/elisei/tax-document-validation-br/dashboard?utm_source=github.com&utm_medium=referral&utm_content=elisei/tax-document-validation-br&utm_campaign=Badge_Grade)

Estatísticas

[![Total Downloads](https://camo.githubusercontent.com/317e2936b417958ab7adec1158a6da120035fd20192993df7719a14667f21416/68747470733a2f2f706f7365722e707567782e6f72672f6f3274692f7461782d646f63756d656e742d76616c69646174696f6e2d62722f646f776e6c6f616473)](https://packagist.org/packages/o2ti/tax-document-validation-br)[![Monthly Downloads](https://camo.githubusercontent.com/4aeb773f24bac0e4a6297d4c7d35c3344b7a141d36e606bd3885a16823e77c20/68747470733a2f2f706f7365722e707567782e6f72672f6f3274692f7461782d646f63756d656e742d76616c69646174696f6e2d62722f642f6d6f6e74686c79)](https://packagist.org/packages/o2ti/tax-document-validation-br)

Versões

[![Latest Stable Version](https://camo.githubusercontent.com/36daf99f3acb4acc305e4853182e14c5630e4fb59dca42cb14576bd3e5e9e1ba/68747470733a2f2f706f7365722e707567782e6f72672f6f3274692f7461782d646f63756d656e742d76616c69646174696f6e2d62722f762f737461626c65)](https://packagist.org/packages/o2ti/tax-document-validation-br)

Recursos
--------

[](#recursos)

Implemente a regra de validação:

- Validar apenas CPF
- Validar apenas CPNJ
- Validar CPF ou CNPJ

Nos campos nativos da Magento.

### Implementação em VatId

[](#implementação-em-vatid)

Esse campo está presente de forma nativa no formulários de endereço da conta de cliente e no formulário de endereço no checkout.

### Implementação em Taxvat

[](#implementação-em-taxvat)

De forma nativa, esse campo está presente apenas no formulário de clientes (customer create account).

Instalação e Configuração
-------------------------

[](#instalação-e-configuração)

Visite nossa [Wiki](https://github.com/elisei/tax-document-validation-br/wiki) e veja como configurar e instalar nosso módulo.

License
-------

[](#license)

[Open Source License](LICENSE.txt)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

16

Last Release

1627d ago

PHP version history (2 changes)100.1.0PHP &gt;=7.3

100.0.3PHP ~7.1.3||~7.2.0||~7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccdde9500a94ea92eecf181cac36548248f55a413eb34b034626e26fc95c9b75?d=identicon)[elisei](/maintainers/elisei)

![](https://www.gravatar.com/avatar/92fae00bb1e7c69c5aed32d3f202c536d29533b33b4666f06500b38b8f5e7589?d=identicon)[o2ti](/maintainers/o2ti)

---

Top Contributors

[![elisei](https://avatars.githubusercontent.com/u/1786389?v=4)](https://github.com/elisei "elisei (22 commits)")

### Embed Badge

![Health badge](/badges/o2ti-tax-document-validation-br/health.svg)

```
[![Health](https://phpackages.com/badges/o2ti-tax-document-validation-br/health.svg)](https://phpackages.com/packages/o2ti-tax-document-validation-br)
```

###  Alternatives

[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[pagbank/payment-magento

PagBank - Payment for Magento and Adobe

2128.3k7](/packages/pagbank-payment-magento)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[swissup/module-search-mysql-legacy

Legacy mysql search for magento 2.4

10483.0k](/packages/swissup-module-search-mysql-legacy)[loki/magento2-admin-components

N/A

151.6k5](/packages/loki-magento2-admin-components)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
