PHPackages                             team23/module-restrict-zip-codes - 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. [Payment Processing](/categories/payments)
4. /
5. team23/module-restrict-zip-codes

ActiveMagento2-module[Payment Processing](/categories/payments)

team23/module-restrict-zip-codes
================================

Handle configured postcodes/zip codes different in shipping or payment

1.3.2(1y ago)02.3k↓100%MITPHPPHP ^7.4||^8.1

Since Sep 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/team23/magento-module-restrict-zip-codes)[ Packagist](https://packagist.org/packages/team23/module-restrict-zip-codes)[ RSS](/packages/team23-module-restrict-zip-codes/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (7)Versions (5)Used By (0)

Team23 Restrict Zip Codes
=========================

[](#team23-restrict-zip-codes)

This extension allows you to handle configured postcodes / zip codes different for shipping methods or payment methods.

Description
-----------

[](#description)

With this Magento extension you can handle some postcodes different from others. To add restricted zip codes, add a `restrict_zip_codes.xml` in your own module. At the moment, only German islands are included.

In the backend you can configure if the module should show a notification on postcode validation, specify the notification message, and you are able to prevent the user from checking out if he entered a restricted zip code. For better User Experience it makes sense to enable notification message if you prevent the user from checking out.

Also, you can restrict the allowed payment methods if the user uses a restricted zip code. Just select the allowed payment methods in the multiselect element. For this you need to enable the "Restrict Payment Methods" configuration.

Installation details
--------------------

[](#installation-details)

Installation is done via composer

### Add composer registry

[](#add-composer-registry)

```
composer config repositories.git.team23.de/171 '{"type": "composer", "url": "https://git.team23.de/api/v4/group/171/-/packages/composer/packages.json"}'
```

### Install package

[](#install-package)

```
composer require team23/module-restrict-zip-codes
```

Use following commands:

```
bin/magento module:enable Team23_RestrictZipCodes
bin/magento setup:upgrade
```

This module does not make any changes in the database, so you can remove it any time. For information about a module installation in Magento 2, see [Enable or disable modules](http://devdocs.magento.com/guides/v2.3/install-gde/install/cli/install-cli-subcommands-enable.html).

Extensibility
-------------

[](#extensibility)

Extension developers can interact with the `Team23_RestrictZipCodes` module. For more information about the Magento extension mechanism, see [Magento plug-ins](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).

[The Magento dependency injection mechanism](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html)enables you to override the functionality of the `Team23_RestrictZipCodes` module.

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 93.3% 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 ~334 days

Total

4

Last Release

647d ago

PHP version history (2 changes)1.0.0PHP ~7.4.0||~8.0.0

1.3.0PHP ^7.4||^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce34ef5862574f47aad7affd7af09fd2e199def1e905577dbfba06542ce122fa?d=identicon)[team23](/maintainers/team23)

---

Top Contributors

[![fatality](https://avatars.githubusercontent.com/u/694677?v=4)](https://github.com/fatality "fatality (14 commits)")[![Emanuel-23](https://avatars.githubusercontent.com/u/48509424?v=4)](https://github.com/Emanuel-23 "Emanuel-23 (1 commits)")

---

Tags

paymentshippingmagento 2

### Embed Badge

![Health badge](/badges/team23-module-restrict-zip-codes/health.svg)

```
[![Health](https://phpackages.com/badges/team23-module-restrict-zip-codes/health.svg)](https://phpackages.com/packages/team23-module-restrict-zip-codes)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.5M8](/packages/mollie-magento2)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

110492.2k](/packages/amzn-amazon-pay-magento-2-module)

PHPackages © 2026

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