PHPackages                             stetodd/payment-gateway - 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. stetodd/payment-gateway

ActiveLibrary[Payment Processing](/categories/payments)

stetodd/payment-gateway
=======================

Provider-neutral payment gateway contracts, models and test simulator

v0.2.0(1mo ago)081MITPHPPHP &gt;=8.4

Since Jun 12Pushed 1mo agoCompare

[ Source](https://github.com/stetodd/payment-gateway)[ Packagist](https://packagist.org/packages/stetodd/payment-gateway)[ RSS](/packages/stetodd-payment-gateway/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (3)Used By (1)

stetodd/payment-gateway
=======================

[](#stetoddpayment-gateway)

Provider-neutral payment gateway contracts: `PaymentGatewayInterface`, request/response models, and a `SimulatorPaymentGateway` test double.

Implementations live in separate packages (e.g. `stetodd/stripe-gateway-bundle`).

Install
-------

[](#install)

```
composer require stetodd/payment-gateway
```

Usage
-----

[](#usage)

Type-hint `Stetodd\PaymentGateway\PaymentGatewayInterface` in your application code. Bind it to a concrete gateway implementation in your container.

In tests, use `Stetodd\PaymentGateway\Testing\SimulatorPaymentGateway` and queue responses with `willReturnResponse(string $key, object $response)`.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance93

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~11 days

Total

2

Last Release

34d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1611641?v=4)[Steve Todd](/maintainers/stetodd)[@stetodd](https://github.com/stetodd)

---

Top Contributors

[![stetodd](https://avatars.githubusercontent.com/u/1611641?v=4)](https://github.com/stetodd "stetodd (5 commits)")

### Embed Badge

![Health badge](/badges/stetodd-payment-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/stetodd-payment-gateway/health.svg)](https://phpackages.com/packages/stetodd-payment-gateway)
```

###  Alternatives

[pagseguro/php

Biblioteca de integração com o PagSeguro

23260.3k6](/packages/pagseguro-php)[hmphu/payoneer

Payonner API Implement in PHP

288.4k](/packages/hmphu-payoneer)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.4k](/packages/msilabs-bkash)[binkode/laravel-paystack

A description for laravel-paystack.

112.1k](/packages/binkode-laravel-paystack)

PHPackages © 2026

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