PHPackages                             systemcode/brazilcustomerattributes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. systemcode/brazilcustomerattributes

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

systemcode/brazilcustomerattributes
===================================

Magento 2 module to adapt customer and address fields to brazil.

1.1.2(5y ago)6014.0k↓50%40[19 issues](https://github.com/m2-systemcode/BrazilCustomerAttributes/issues)[4 PRs](https://github.com/m2-systemcode/BrazilCustomerAttributes/pulls)proprietaryPHP

Since Jun 21Pushed 3y ago13 watchersCompare

[ Source](https://github.com/m2-systemcode/BrazilCustomerAttributes)[ Packagist](https://packagist.org/packages/systemcode/brazilcustomerattributes)[ Docs](https://www.systemcode.com.br/)[ RSS](/packages/systemcode-brazilcustomerattributes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (16)Used By (0)

Brazil Customer Attributes
==========================

[](#brazil-customer-attributes)

[![](https://camo.githubusercontent.com/2d3fe4b4571e9a457c8c764d2b4c441e7feb3026a9b831fcb29e8831df71b3a1/68747470733a2f2f696d6775722e636f6d2f707154533338672e706e67)](https://camo.githubusercontent.com/2d3fe4b4571e9a457c8c764d2b4c441e7feb3026a9b831fcb29e8831df71b3a1/68747470733a2f2f696d6775722e636f6d2f707154533338672e706e67)

[![](https://camo.githubusercontent.com/88357c788a100b580b353914b4a623d0c3bb1014958d985932d53f99c8eba507/68747470733a2f2f696d6775722e636f6d2f765341434e7235)](https://camo.githubusercontent.com/88357c788a100b580b353914b4a623d0c3bb1014958d985932d53f99c8eba507/68747470733a2f2f696d6775722e636f6d2f765341434e7235)

[![](https://camo.githubusercontent.com/727a0fa37ca217276730d9b8b413fb43dc70197f2101faf0fa7c74810ade7411/68747470733a2f2f696d6775722e636f6d2f43707579446a4d2e706e67)](https://camo.githubusercontent.com/727a0fa37ca217276730d9b8b413fb43dc70197f2101faf0fa7c74810ade7411/68747470733a2f2f696d6775722e636f6d2f43707579446a4d2e706e67)

[![](https://camo.githubusercontent.com/497ef751952ca74047a11823951ba8ceb784e54fe3efe64202d4a3064a04a8d4/68747470733a2f2f696d6775722e636f6d2f696766587531392e706e67)](https://camo.githubusercontent.com/497ef751952ca74047a11823951ba8ceb784e54fe3efe64202d4a3064a04a8d4/68747470733a2f2f696d6775722e636f6d2f696766587531392e706e67)

[![](https://camo.githubusercontent.com/3c6fa9f853553a10692526b28c839801d45705afe62859a66563637022e6a1dc/68747470733a2f2f692e696d6775722e636f6d2f764b716c6b62442e706e67)](https://camo.githubusercontent.com/3c6fa9f853553a10692526b28c839801d45705afe62859a66563637022e6a1dc/68747470733a2f2f692e696d6775722e636f6d2f764b716c6b62442e706e67)

About Module
------------

[](#about-module)

Magento 2 module to adapt customer and address fields to brazil.

PS: This module doesn't work with checkout as guest.

### How to install

[](#how-to-install)

#### ✓ Install by Composer (recommended)

[](#-install-by-composer-recommended)

```
composer require systemcode/brazilcustomerattributes
php bin/magento module:enable SystemCode_BrazilCustomerAttributes SystemCode_Base
php bin/magento setup:upgrade

```

#### ✓ Install Manually

[](#-install-manually)

- Install [System Code Base](https://github.com/eduardoddias/Magento-SystemCode_Base) first
- After copy module to folder app/code/SystemCode/BrazilCustomerAttributes and run commands:

```
php bin/magento setup:di:compile
php bin/magento setup:upgrade

```

### Configuration

[](#configuration)

Configure module on SystemCode &gt; Brazil Customer Attributes &gt; Configuration

### TODO

[](#todo)

- Refactor
- Unity tests
- Login by attributes CPF/CNPJ
- Add mask for fields on admin
- One Step Checkout (future module)
- Add other zipcode consult methods

### Contribute

[](#contribute)

To contribute make project fork and an pull request or edit on Github.

### License

[](#license)

OSL-3.0

### Donators

[](#donators)

- [Ricardo Martins](https://www.magenteiro.com/)

### Contributors

[](#contributors)

- [Max Souza](https://github.com/MaxSouza)

### Authors

[](#authors)

- [Eduardo Diogo Dias](https://github.com/eduardoddias)

---

Sobre o Módulo
--------------

[](#sobre-o-módulo)

Módulo em Magento 2 para adaptar os campos de usuário e endereço para o padrão brasileiro.

OBS: O módulo não funciona com checkout como visitante.

### Como Instalar

[](#como-instalar)

#### ✓ Instalação via Composer (recomendado)

[](#-instalação-via-composer-recomendado)

```
composer require systemcode/brazilcustomerattributes
php bin/magento module:enable SystemCode_BrazilCustomerAttributes SystemCode_Base
php bin/magento setup:upgrade

```

#### ✓ Instalação Manual

[](#-instalação-manual)

- Install [System Code Base](https://github.com/eduardoddias/Magento-SystemCode_Base) first
- After copy module to folder app/code/SystemCode/BrazilCustomerAttributes and run commands:

```
php bin/magento setup:di:compile
php bin/magento setup:upgrade

```

### Configuração

[](#configuração)

Configure o módulo em Lojas &gt; Opções &gt; Configurações &gt; System Code &gt; Atributos do Cliente do Brasil

### TODO

[](#todo-1)

- Refatorar
- Testes unitários
- Login via CPF/CNPJ
- Adicionar máscaras no admin
- One Step Checkout (módulo futuro)
- Adicionar outros métodos de consulta de CEP

### Contribuir

[](#contribuir)

Para contribuir faça um fork do projeto e depois um pull request ou edite através do Github.

### Licença

[](#licença)

OSL-3.0

### Doadores

[](#doadores)

- [Ricardo Martins](https://www.magenteiro.com/)

### Contribuidores

[](#contribuidores)

- [Max Souza](https://github.com/MaxSouza)

### Autores

[](#autores)

- [Eduardo Diogo Dias](https://github.com/eduardoddias)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 65.1% 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 ~53 days

Recently: every ~35 days

Total

10

Last Release

2033d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/da04c97689053a27ea48cbce0ef2628c75c789f23ccf6f0d36fa2fb518e1b606?d=identicon)[System Code](/maintainers/System%20Code)

---

Top Contributors

[![eduardoddias](https://avatars.githubusercontent.com/u/5066212?v=4)](https://github.com/eduardoddias "eduardoddias (28 commits)")[![MaxSouza](https://avatars.githubusercontent.com/u/5350377?v=4)](https://github.com/MaxSouza "MaxSouza (9 commits)")[![r-martins](https://avatars.githubusercontent.com/u/191149?v=4)](https://github.com/r-martins "r-martins (3 commits)")[![luancschmitz](https://avatars.githubusercontent.com/u/13907586?v=4)](https://github.com/luancschmitz "luancschmitz (1 commits)")[![Veiote](https://avatars.githubusercontent.com/u/7726177?v=4)](https://github.com/Veiote "Veiote (1 commits)")[![wallycofe](https://avatars.githubusercontent.com/u/4097229?v=4)](https://github.com/wallycofe "wallycofe (1 commits)")

---

Tags

atributosatributos-brazilattributesattributes-brazilbrasilbrazilcamposcnpjcpfenderecomagento2magento2-modulepessoa-fisicapessoa-juridicamagento 2brazil fieldscampos brasilmagento2 camposmagento2 endereçomagento2 address brazilmagento2 person typemagento2 pessoa físicamagento2 pessoa jurídicamagento2 tipo pessoa

### Embed Badge

![Health badge](/badges/systemcode-brazilcustomerattributes/health.svg)

```
[![Health](https://phpackages.com/badges/systemcode-brazilcustomerattributes/health.svg)](https://phpackages.com/packages/systemcode-brazilcustomerattributes)
```

###  Alternatives

[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[mageplaza/magento-2-blog-extension

Magento 2 Blog extension

123708.2k5](/packages/mageplaza-magento-2-blog-extension)[mageplaza/magento-2-seo-extension

Magento 2 SEO extension

138506.6k2](/packages/mageplaza-magento-2-seo-extension)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)

PHPackages © 2026

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