systemcode / customer-street-prefix
systemcode/customer-street-prefix
Configurable street prefix for customer addresses.
System Code Street Prefix
About Module
Adds a configurable street prefix selector (e.g. Street, Avenue, Lane) to customer and checkout address forms. Supports custom labels, required validation, admin-defined options, and address template variables for orders, emails, and invoices.
Configuration
Stores > Configuration > System Code > Street Prefix
Screenshots
Admin Configuration
[image: Admin Configuration]
Customer Registration
[image: Customer Registration]
My Account — Address Book
[image: My Account Address Book]
Checkout
[image: Checkout]
Requirements
systemcode/basesystemcode/customermagento/module-customermagento/module-checkoutmagento/module-quotemagento/module-sales
How to install
✓ Install by Composer (recommended)
composer require systemcode/base systemcode/customer systemcode/customer-street-prefix
php bin/magento module:enable SystemCode_CustomerStreetPrefix
php bin/magento setup:upgrade
✓ Install Manually
- Copy module to folder
app/code/SystemCode/CustomerStreetPrefixand run commands:
php bin/magento module:enable SystemCode_CustomerStreetPrefix
php bin/magento setup:di:compile
php bin/magento setup:upgrade
License
OSL-3.0
Authors
Sobre o Módulo
Adiciona um seletor configurável de prefixo de logradouro (ex.: Rua, Avenida, Alameda) nos formulários de endereço do cliente e checkout. Suporta rótulo personalizado, validação obrigatória, opções definidas no admin e variáveis para modelos de endereço em pedidos, e-mails e faturas.
Configuração
Lojas > Configuração > System Code > Street Prefix
Screenshots
Configuração no Admin
[image: Configuração no Admin]
Cadastro de Cliente
[image: Cadastro de Cliente]
Minha Conta — Catálogo de Endereços
[image: Minha Conta — Catálogo de Endereços]
Checkout
[image: Checkout]
Requisitos
systemcode/basesystemcode/customermagento/module-customermagento/module-checkoutmagento/module-quotemagento/module-sales
Como Instalar
✓ Instalação via Composer (recomendado)
composer require systemcode/base systemcode/customer systemcode/customer-street-prefix
php bin/magento module:enable SystemCode_CustomerStreetPrefix
php bin/magento setup:upgrade
✓ Instalação Manual
- Copie o módulo para
app/code/SystemCode/CustomerStreetPrefixe execute:
php bin/magento module:enable SystemCode_CustomerStreetPrefix
php bin/magento setup:di:compile
php bin/magento setup:upgrade
Licença
OSL-3.0
Autores
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
Requires 6
| Package | Constraint |
|---|---|
| magento/module-checkout | * |
| magento/module-customer | * |
| magento/module-quote | * |
| magento/module-sales | * |
| systemcode/base | ^2.0 |
| systemcode/customer | ^1.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge — a phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
PHPStan
Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases. Cell → details modal.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from systemcode
View vendorConfigurable labels and required rules for Magento street address lines.
Show address fields on customer registration.
Brazilian postcode mask and address autocomplete for Magento customer address forms.
Shared customer form templates with extension hooks for SystemCode modules.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.