Loki_DirectoryCountryFormatManager

PHP 8.1 - 8.4
Magento 2.4.7 | 2.4.8
CSP Yes
PHPStan 4
Magento PHPCS 7
Latest Release 1.0.0

This Magento 2 module allows you to manage address templates per country. The core database table directory_country_format contains a mapping between a country and an address template, yet there is no way to manage this. This module uses Loki_AdminComponents to create a grid and form in the Magento Admin Panel, allowing you to manage things anyway.

Installation

Install this package via composer:

composer require loki/magento2-directory-country-format-manager

Next, enable this module:

bin/magento module:enable Loki_DirectoryCountryFormatManager

Usage

Navigate to Stores > Settings > Country Format Manager within the Magento Admin Panel.

Support

For getting support, create an Issue under the following project URL:

https://gitlab.yireo.com/loki-checkout/Loki_DirectoryCountryFormatManager.git

Loki Components

The following LokiComponents are created or references in this module:

directory_country_format_manager.form directory_country_format_manager.grid
Module Dependencies

The following dependencies are declared in the module its `etc/module.xml` file:

Loki_AdminComponents Loki_Components Loki_CssUtils Magento_Backend Magento_Catalog Magento_Customer Magento_Directory Magento_Eav Magento_Store Magento_Theme Magento_Ui Yireo_CspUtilities
Composer details
Magento module name
Loki_DirectoryCountryFormatManager
Composer name
loki/magento2-directory-country-format-manager
Composer version
No release yet
Default branch
main
Requirements
loki/magento2-admin-components: ~0.6.3
magento/framework: ^103.0
magento/module-backend: ^102.0
Releases
1.0.0 13 May 2026
Changelog

[1.0.0] - 04 May 2026

  • Initial release

Last modified: May 13, 2026