PHPackages                             tig/postcode-magento2 - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. tig/postcode-magento2

ActiveMagento2-module[Validation &amp; Sanitization](/categories/validation)

tig/postcode-magento2
=====================

TIG Magento 2 Postcode extension

1.7.0(2y ago)7139.6k↓23.9%12[7 issues](https://github.com/postcodeservice/postcode-magento2/issues)1CC-BY-NC-ND-3.0PHPPHP ~8.1|~8.2

Since Apr 23Pushed 2y ago8 watchersCompare

[ Source](https://github.com/postcodeservice/postcode-magento2)[ Packagist](https://packagist.org/packages/tig/postcode-magento2)[ Docs](https://postcodeservice.com)[ RSS](/packages/tig-postcode-magento2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (37)Used By (1)

Postcode Service Magento 2 extension
====================================

[](#postcode-service-magento-2-extension)

[![Latest Stable Version](https://camo.githubusercontent.com/3db2f02c3f6cd5eaa8c48ab499d9d893fb10cc0e01cfe989d58e4ec29090c3a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f706f7374636f6465736572766963652f706f7374636f64652d6d6167656e746f323f7374796c653d666f722d7468652d626164676526636f6c6f723d323237636666)](https://github.com/postcodeservice/postcode-magento2/releases/latest)[![TIG Postcode Service 2.4.7 versions](https://camo.githubusercontent.com/5ca67fcdade0a17bba54266c3d7ba85b5d9a258265bfb9892779a72f6d0a5350/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461332d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/5ca67fcdade0a17bba54266c3d7ba85b5d9a258265bfb9892779a72f6d0a5350/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461332d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![TIG Postcode Service 2.4.7 versions](https://camo.githubusercontent.com/1f14d7235d48751a18aaaa529c0abe640df95667cc6f532df76159abef1da36f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461322d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/1f14d7235d48751a18aaaa529c0abe640df95667cc6f532df76159abef1da36f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461322d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![TIG Postcode Service 2.4.7 versions](https://camo.githubusercontent.com/eea331f8c419dad3e5b52305564bbd30981998461e2441896acfe101bf908302/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461312d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/eea331f8c419dad3e5b52305564bbd30981998461e2441896acfe101bf908302/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e3762657461312d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![TIG Postcode Service 2.4.6 versions](https://camo.githubusercontent.com/bd40d0cdf08efb10e7101b00265033991958ea150a552f211c416b50274486cb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e362d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/bd40d0cdf08efb10e7101b00265033991958ea150a552f211c416b50274486cb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e362d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![TIG Postcode Service 2.4.5 versions](https://camo.githubusercontent.com/413ff2c4ae24c982237627879ec03a8e0c7522c6d3f9a3f8227442b3f92978dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e352d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/413ff2c4ae24c982237627879ec03a8e0c7522c6d3f9a3f8227442b3f92978dc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e352d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![TIG Postcode Service 2.4.4 versions](https://camo.githubusercontent.com/936b24319ded8f24370ee75de61dd8d3f4b426d41b63026dca671b5bce11406b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e342d2532333030636630303f7374796c653d666f722d7468652d6261646765)](https://camo.githubusercontent.com/936b24319ded8f24370ee75de61dd8d3f4b426d41b63026dca671b5bce11406b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f546573746564253230776974682532304d6167656e746f2d322e342e342d2532333030636630303f7374796c653d666f722d7468652d6261646765)[![Total Extension downloads](https://camo.githubusercontent.com/f57f07667e14b4adc1c08e80f80e889127212c097fff4f84c0411204c8022c98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7469672f706f7374636f64652d6d6167656e746f323f7374796c653d666f722d7468652d626164676526636f6c6f723d323237636666)](https://packagist.org/packages/tig/postcode-magento2/stats)

Introduction
------------

[](#introduction)

With the Postcode Service you can auto complete a partly given address and check its validity.

This code base is an extension (plugin) for the Adobe Magento platform using the Postcode Service API . The extension is available and maintained free or charge. However, there is a fee associated with using the Postcode Service, which is integrated with the extension. The exact cost depends on the amount of usage. You can find detailed pricing information on the website at

3 Reasons for using the Postcode Service Adobe Magento extension:

- Superfast performance due to specific code and design optimizations for Adobe Magento webshops
- Accurate and reliable data, ahead of the market
- Secure: Independent of logistics companies

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

[](#installation)

We strongly recommend that you use a staging environment for the installation, and to also make a backup of your environment.

### Installation using composer (Recommended)

[](#installation-using-composer-recommended)

To install the extension login to your environment using SSH.
Then navigate to the Magento 2 root directory and run the following commands in the same order as described:

Enable maintenance mode:

```
php bin/magento maintenance:enable
```

Install the extension:

```
composer require tig/postcode-magento2
```

Enable the Postcode Service Magento 2 extension

```
php bin/magento module:enable TIG_Postcode
```

Update the Magento 2 environment:

```
php bin/magento setup:upgrade
```

---

When your Magento environment is running in production mode, you also need to run the following commands:

Compile DI:

```
php bin/magento setup:di:compile
```

Deploy static content:

```
php bin/magento setup:static-content:deploy
```

---

Disable maintenance mode:

```
php bin/magento maintenance:disable
```

How to update the extension
---------------------------

[](#how-to-update-the-extension)

To update the Postcode Service Extension run the following commands:

```
composer update tig/postcode-magento2
php bin/magento setup:upgrade
```

Alternatively, install the extension manually
---------------------------------------------

[](#alternatively-install-the-extension-manually)

- Download the extension directly from [github](https://github.com/postcodeservice/postcode-magento2) by clicking on *Code* and then *Download ZIP*.
- Create the directory *app/code/TIG/Postcode* (Case-sensitive)
- Extract the zip and upload the code into *app/code/TIG/Postcode*
- Enable the Postcode Service Magento 2 extension

```
php bin/magento module:enable TIG_Postcode
```

- Update the Magento 2 environment

```
php bin/magento setup:upgrade
```

Configuration
-------------

[](#configuration)

After completing the installation process, the extension should be readily available in the backend of your Magento webshop. From there, you can configure the extension according to your requirements:

1. Go to Stores -&gt; Configuration -&gt; Sales -&gt; Postcode Service
2. Open the Configuration tab
3. Change the Modus from "Off" to "Test" or "Live"
4. Insert your Client ID and Api key (Secure Code). When you selected “Test” at the Modus, you can find test credentials below the fields - keep in mind there is a daily limit -.
    To sign up for a paid account and get your Client ID and Api key, simply visit  and subscribe.
5. In the 'Countries' section, select the country for which you wish to enable the Postcode Service.
6. Flush your cache

Visual representation of the Postcode Service Magento extension during the checkout process
-------------------------------------------------------------------------------------------

[](#visual-representation-of-the-postcode-service-magento-extension-during-the-checkout-process)

### For Dutch postcodes

[](#for-dutch-postcodes)

[![postcode_service_magento2-nl](./media/postcode_service_magento_2_nl.gif)](./media/postcode_service_magento_2_nl.gif)

### For Belgium postcodes

[](#for-belgium-postcodes)

[![postcode_service_magento2-be](./media/postcode_service_magento_2_be.gif)](./media/postcode_service_magento_2_be.gif)

### For German postcodes

[](#for-german-postcodes)

The functionality for Germany is similar to that for Belgium. Please refer to the preceding example for a demonstration of its operation.

### For France Postcodes

[](#for-france-postcodes)

The functionality for France is similar to that for Belgium and Germany. Please refer to the preceding example for a demonstration of its operation.

Further documentation
---------------------

[](#further-documentation)

You can find the underlying Postcode Service API documentation here:

Frequently Asked Questions
--------------------------

[](#frequently-asked-questions)

### Q: Which third party extensions are supported and compatible?

[](#q-which-third-party-extensions-are-supported-and-compatible)

A: While our extension is compatible with many third-party checkout extensions, we do not provide support for third-party checkout extensions from OneStepCheckout.com, Amasty, and MagePlaza. Although there are numerous webshops that successfully use these extensions in combination with our Postcode Service extension, we cannot guarantee their compatibility due to potential issues arising from custom implementations. As a result, we are unable to offer support for any issues that may arise from their use.

Requirements
------------

[](#requirements)

Adobe Magento Open Source (Community edition) or Adobe Commerce (Enterprise version).

Version support
---------------

[](#version-support)

We follow the release support lines dates from Adobe  for the version support of this extension.

Technical Support with the extension
------------------------------------

[](#technical-support-with-the-extension)

See

Release history
---------------

[](#release-history)

See

About
-----

[](#about)

The Postcode Service is a trademark of the Total Internet Group B.V.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~95 days

Total

36

Last Release

773d ago

PHP version history (8 changes)1.1.0PHP ~7.0|~7.1

1.1.3PHP ~5.6|~7.0|~7.1

1.1.11PHP ~7.0|~7.1|~7.2

1.2.4PHP ~7.0|~7.1|~7.2|~7.3

1.2.7PHP ~7.0|~7.1|~7.2|~7.3|~7.4

1.5.0-RC1PHP ~7.0|~7.1|~7.2|~7.3|~7.4|~8.0|~8.1

1.5.3PHP ~7.0|~7.1|~7.2|~7.3|~7.4|~8.0|~8.1|~8.2

1.6.0PHP ~8.1|~8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/19171378?v=4)[Mickey Beijer](/maintainers/tig-mickeybeijer)[@tig-mickeybeijer](https://github.com/tig-mickeybeijer)

![](https://avatars.githubusercontent.com/u/23072926?v=4)[Dennis van der Hammen](/maintainers/tig-dennisvanderhammen)[@tig-dennisvanderhammen](https://github.com/tig-dennisvanderhammen)

![](https://avatars.githubusercontent.com/u/11065481?v=4)[Robert Grundeken](/maintainers/tig-robertgrundeken)[@tig-robertgrundeken](https://github.com/tig-robertgrundeken)

![](https://avatars.githubusercontent.com/u/60389760?v=4)[TIG-Lucas-Hoeffnagel](/maintainers/TIG-Lucas-Hoeffnagel)[@TIG-Lucas-Hoeffnagel](https://github.com/TIG-Lucas-Hoeffnagel)

![](https://avatars.githubusercontent.com/u/81763300?v=4)[Michiel Vonk](/maintainers/tig-mvonk)[@tig-mvonk](https://github.com/tig-mvonk)

![](https://avatars.githubusercontent.com/u/16078545?v=4)[Joost Schildwacht](/maintainers/schldwcht)[@schldwcht](https://github.com/schldwcht)

![](https://avatars.githubusercontent.com/u/104075898?v=4)[tig-luuksmal](/maintainers/tig-luuksmal)[@tig-luuksmal](https://github.com/tig-luuksmal)

---

Top Contributors

[![tig-dennisvanderhammen](https://avatars.githubusercontent.com/u/23072926?v=4)](https://github.com/tig-dennisvanderhammen "tig-dennisvanderhammen (195 commits)")[![tig-rikjonkmans](https://avatars.githubusercontent.com/u/23359911?v=4)](https://github.com/tig-rikjonkmans "tig-rikjonkmans (132 commits)")[![tig-mickeybeijer](https://avatars.githubusercontent.com/u/19171378?v=4)](https://github.com/tig-mickeybeijer "tig-mickeybeijer (41 commits)")[![TIG-Lucas-Hoeffnagel](https://avatars.githubusercontent.com/u/60389760?v=4)](https://github.com/TIG-Lucas-Hoeffnagel "TIG-Lucas-Hoeffnagel (35 commits)")[![tig-luuksmal](https://avatars.githubusercontent.com/u/104075898?v=4)](https://github.com/tig-luuksmal "tig-luuksmal (31 commits)")[![schldwcht](https://avatars.githubusercontent.com/u/16078545?v=4)](https://github.com/schldwcht "schldwcht (19 commits)")[![tig-mvonk](https://avatars.githubusercontent.com/u/81763300?v=4)](https://github.com/tig-mvonk "tig-mvonk (16 commits)")[![tig-vincentthart](https://avatars.githubusercontent.com/u/18369238?v=4)](https://github.com/tig-vincentthart "tig-vincentthart (11 commits)")[![tig-robertgrundeken](https://avatars.githubusercontent.com/u/11065481?v=4)](https://github.com/tig-robertgrundeken "tig-robertgrundeken (11 commits)")[![support-ps](https://avatars.githubusercontent.com/u/160012774?v=4)](https://github.com/support-ps "support-ps (6 commits)")[![tig-kevinvandijk](https://avatars.githubusercontent.com/u/45790591?v=4)](https://github.com/tig-kevinvandijk "tig-kevinvandijk (5 commits)")[![tig-timsibbald](https://avatars.githubusercontent.com/u/23315134?v=4)](https://github.com/tig-timsibbald "tig-timsibbald (3 commits)")[![thomas-wijnands-tig](https://avatars.githubusercontent.com/u/78429345?v=4)](https://github.com/thomas-wijnands-tig "thomas-wijnands-tig (2 commits)")[![tig-jeffreybranderhorst](https://avatars.githubusercontent.com/u/23314965?v=4)](https://github.com/tig-jeffreybranderhorst "tig-jeffreybranderhorst (2 commits)")[![tig-bartrusschenberg](https://avatars.githubusercontent.com/u/23312867?v=4)](https://github.com/tig-bartrusschenberg "tig-bartrusschenberg (2 commits)")

---

Tags

address-autocompleteaddress-validationaddress-verificationautocomplete-addressautofill-addressbelgiummagento-2-extensionmagento2magento2-extensionnetherlandspostal-code-servicepostcode-lookuppostcode-lookup-servicepostcode-validationtigtotal-internet-groupzip-code-service

### Embed Badge

![Health badge](/badges/tig-postcode-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/tig-postcode-magento2/health.svg)](https://phpackages.com/packages/tig-postcode-magento2)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)[dotdigital/dotdigital-magento2-extension

Dotdigital for Magento 2

50374.2k18](/packages/dotdigital-dotdigital-magento2-extension)[o2ti/sigep-web-carrier

O2TI - Sigep Web Carrier

141.5k](/packages/o2ti-sigep-web-carrier)

PHPackages © 2026

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