Loki_DirectoryCountryFormatManager

Jump to User Docs

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

Magento version PHP version License Latest Version

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.

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

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_Sales 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
1.0.1
Default branch
main
Requirements
loki/magento2-admin-components: ~0.6
magento/framework: ^103.0
magento/module-backend: ^102.0
php: >=8.2 <8.6
Releases
1.0.1 16 September 2026
1.0.0 16 September 2026
Changelog

[1.0.1] - 07 August 2026

Fixed

  • Upgrade constraint with Loki AdminComponents

[1.0.0] - 04 May 2026

  • Initial release
Jump to User Docs

Last modified: June 1, 2026