PHPackages                             fond-of-oryx/payment-address-restriction - 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. fond-of-oryx/payment-address-restriction

ActiveLibrary

fond-of-oryx/payment-address-restriction
========================================

2.0.1(2y ago)013.1k↓100%MITPHPPHP &gt;=8.0

Since Mar 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/fond-of-oryx/payment-address-restriction)[ Packagist](https://packagist.org/packages/fond-of-oryx/payment-address-restriction)[ RSS](/packages/fond-of-oryx-payment-address-restriction/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (5)Versions (6)Used By (0)

payment address restriction
===========================

[](#payment-address-restriction)

[![license](https://camo.githubusercontent.com/5f4a73da5289eb12664c058b66fd6c399f409cc844e4f9fda81e8d6251ced797/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f666f6e642d6f662d6f7279782f7061796d656e742d616464726573732d7265737472696374696f6e2e737667)](https://packagist.org/packages/fond-of-oryx/payment-address-restriction)

What it does
------------

[](#what-it-does)

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

[](#installation)

```
composer require fond-of-oryx/payment-address-restriction

```

Usage
-----

[](#usage)

register the plugins in your dependency provider

i.E.: Pyz\\Zed\\Payment\\PaymentDependencyProvider.php

```
/**
 * @return array|array
 */
protected function getPaymentMethodFilterPlugins(): array
{
    return [
        ...,
        new CountryRestrictionPaymentMethodFilterPlugin(),
        new IdenticalAddressRestrictionPaymentMethodFilterPlugin(),
    ];
}

```

add the following configuration to your config-file

```
$config[PaymentAddressRestrictionConstants::BLACKLISTED_PAYMENT_COUNTRY_COMBINATIONS] = [
    'payment-method-name' => ['DE', 'AT', 'CH'], // payment method only allowed for DE, AT, CH
];

$config[PaymentAddressRestrictionConstants::BLACKLISTED_PAYMENT_IDENTICAL_ADDRESS_REQUIRED] = [
    'payment-method-name' // shipping- and billing address must equal
];

```

###  Health Score

34

—

LowBetter than 79% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

5

Last Release

1010d ago

Major Versions

1.0.1 → 2.0.02023-01-20

PHP version history (2 changes)1.0.0PHP &gt;=7.3

2.0.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c8ae669ad5d4e25d1564b2ee381e86fb88b3d9f132040a1a6b642de43b7a417?d=identicon)[daniel-rose](/maintainers/daniel-rose)

---

Top Contributors

[![DerCalli](https://avatars.githubusercontent.com/u/35733274?v=4)](https://github.com/DerCalli "DerCalli (4 commits)")[![SpiderDan98](https://avatars.githubusercontent.com/u/40319023?v=4)](https://github.com/SpiderDan98 "SpiderDan98 (4 commits)")[![julianhyatt](https://avatars.githubusercontent.com/u/54834203?v=4)](https://github.com/julianhyatt "julianhyatt (1 commits)")

### Embed Badge

![Health badge](/badges/fond-of-oryx-payment-address-restriction/health.svg)

```
[![Health](https://phpackages.com/badges/fond-of-oryx-payment-address-restriction/health.svg)](https://phpackages.com/packages/fond-of-oryx-payment-address-restriction)
```

PHPackages © 2026

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