PHPackages                             robsoned/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. robsoned/brazilcustomerattributes

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

robsoned/brazilcustomerattributes
=================================

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

0226PHP

Since Jul 30Pushed 9mo agoCompare

[ Source](https://github.com/robsoned/Magento-SystemCode_BrazilCustomerAttributes)[ Packagist](https://packagist.org/packages/robsoned/brazilcustomerattributes)[ RSS](/packages/robsoned-brazilcustomerattributes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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 robsoned/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 robsoned/brazilcustomerattributes
php bin/magento module:enable
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

20

—

LowBetter than 14% of packages

Maintenance41

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 62.5% 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.

### Community

Maintainers

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

---

Top Contributors

[![r-martins](https://avatars.githubusercontent.com/u/191149?v=4)](https://github.com/r-martins "r-martins (10 commits)")[![lawsann](https://avatars.githubusercontent.com/u/2099888?v=4)](https://github.com/lawsann "lawsann (3 commits)")[![robsoned](https://avatars.githubusercontent.com/u/18008565?v=4)](https://github.com/robsoned "robsoned (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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