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

061PHP

Since Jun 3Pushed 1mo ago1 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (4)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:dev-master`
- 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

22

—

LowBetter than 21% of packages

Maintenance61

Regular maintenance activity

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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

1038d 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://avatars.githubusercontent.com/u/64354550?v=4)[Delgraf](/maintainers/Delgraf)[@Delgraf](https://github.com/Delgraf)

---

Top Contributors

[![Delgraf](https://avatars.githubusercontent.com/u/64354550?v=4)](https://github.com/Delgraf "Delgraf (17 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

[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

19131.4k](/packages/imi-magento2-friendly-captcha)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)

PHPackages © 2026

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