Loki_DirectoryCountryFormatManager

Jump to User Docs

Professional
Standard
Trial
PHP 8.2 - 8.5
Magento 2.4.6 - 2.4.9
CSP Yes
Unit Tests 9
Integration Tests 18
PHPStan 4
Magento PHPCS 7
License OSL-3.0
Latest Release 1.0.2

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

Magento 2 Static Tests success
Magento 2 Unit Tests success
Magento 2 Integration Tests success
Playwright test success
Magento 2 DI compilation success
Magento 2 Integration Tests success
Magento 2 Static Tests success
Playwright test success
Magento 2 DI compilation success
Magento 2 Unit Tests success

Support

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

https://github.com/LokiExtensions/Loki_DirectoryCountryFormatManager

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_Base Loki_Components Loki_CssUtils Magento_AdminNotification Magento_Backend Magento_Catalog Magento_Cms Magento_Config Magento_Csp Magento_Customer Magento_Directory Magento_Eav Magento_Indexer Magento_MediaGalleryUiApi Magento_Payment Magento_Quote Magento_Rule Magento_Sales Magento_SalesSequence Magento_Store Magento_Theme Magento_Ui Magento_Variable Yireo_CspUtilities
Composer details
Magento module name
Loki_DirectoryCountryFormatManager
Composer name
loki/magento2-directory-country-format-manager
Composer version
1.0.2
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.2 12 November 2026
1.0.1 12 November 2026
1.0.0 12 November 2026
Changelog

[1.0.2] - 30 October 2026

Fixed

  • Fix dependencies

[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