PHPackages                             delgraf/module-regioncode - 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. delgraf/module-regioncode

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

delgraf/module-regioncode
=========================

Region code in customer address templates and store address

1.0.1(2y ago)041GPL-3.0PHPPHP ~8.1.0||~8.2.0

Since Jan 10Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/Delgraf/Magento2-RegionCode)[ Packagist](https://packagist.org/packages/delgraf/module-regioncode)[ RSS](/packages/delgraf-module-regioncode/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

Magento2 Module Delgraf RegionCode
==================================

[](#magento2-module-delgraf-regioncode)

```
``delgraf/module-regioncode``

```

- [Main Functionalities](#markdown-header-main-functionalities)
- [Installation](#markdown-header-installation)

Main Functionalities
--------------------

[](#main-functionalities)

- Enable region code in customer address templates using {{var region\_id}}
- Add region code in store address

Installation
------------

[](#installation)

\* = in production please use the `--keep-generated` option

### Type 1: Composer

[](#type-1-composer)

- Go to Magento2 root folder
- Install the module composer by running `composer require delgraf/module-regioncode`
- Enable the module by running `php bin/magento module:enable Delgraf_RegionCode`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

### Type 2: Zip file

[](#type-2-zip-file)

- Unzip the zip file in `app/code/Delgraf`
- Enable the module by running `php bin/magento module:enable Delgraf_RegionCode`
- Apply database updates by running `php bin/magento setup:upgrade`\*
- Flush the cache by running `php bin/magento cache:flush`

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance45

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~597 days

Total

2

Last Release

991d ago

PHP version history (2 changes)1.0.0PHP ~7.4.0||~8.0.0||~8.1.0

1.0.1PHP ~8.1.0||~8.2.0

### Community

Maintainers

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

---

Top Contributors

[![Delgraf](https://avatars.githubusercontent.com/u/64354550?v=4)](https://github.com/Delgraf "Delgraf (13 commits)")

---

Tags

delgrafdelgraf-magento2-regioncodedelgraf-regioncodemagentomagento2magento2-extensionmagento2-extension-freemagento2-moduleregioncode

### Embed Badge

![Health badge](/badges/delgraf-module-regioncode/health.svg)

```
[![Health](https://phpackages.com/badges/delgraf-module-regioncode/health.svg)](https://phpackages.com/packages/delgraf-module-regioncode)
```

###  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)[loki/magento2-admin-components

N/A

151.6k5](/packages/loki-magento2-admin-components)

PHPackages © 2026

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