PHPackages                             gatepay/gatepay - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. gatepay/gatepay

ActiveLibrary[HTTP &amp; Networking](/categories/http)

gatepay/gatepay
===============

Deterministic Payment Gateway Transaction Transport

1.0.0(1mo ago)00MITPHP &gt;=8.1

Since Apr 11Pushed 1mo agoCompare

[ Source](https://github.com/TrayDigita/GatePay)[ Packagist](https://packagist.org/packages/gatepay/gatepay)[ Docs](https://github.com/TrayDigita/GatePay)[ Fund](https://www.paypal.me/aufa)[ GitHub Sponsors](https://github.com/arrayiterator)[ RSS](/packages/gatepay-gatepay/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

GatePay
=======

[](#gatepay)

### The Payment Gateway Library That Actually Makes Sense

[](#the-payment-gateway-library-that-actually-makes-sense)

> **Stop wrestling with payment integrations. Start building.**

Architecture
------------

[](#architecture)

```
┌─────────────────────────────────────────────────────────────┐
│                      GatewayRegistry                        │
│  ┌─────────┐  ┌─────────┐  ┌─────────┐  ┌─────────────────┐ │
│  │ PayPal  │  │ Stripe  │  │ Bank API│  │ YourCustomGW    │ │
│  └────┬────┘  └────┬────┘  └────┬────┘  └────────┬────────┘ │
└───────┼────────────┼────────────┼────────────────┼──────────┘
        │            │            │                │
        └────────────┴─────┬──────┴────────────────┘
                           │
                    ┌──────▼──────┐
                    │ Transaction │ ← Deterministic State Machine
                    │   (Stack)   │
                    └──────┬──────┘
                           │
        ┌──────────────────┼──────────────────┐
        │                  │                  │
   ┌────▼────┐       ┌─────▼─────┐      ┌─────▼─────┐
   │ PENDING │  ───► │  SUCCESS  │  or  │   ERROR   │
   └─────────┘       └───────────┘      └───────────┘

```

---

Installing
----------

[](#installing)

*Requires php8.1 or later*

```
composer require gatepay/core
```

Core
----

[](#core)

Goodbye to the days of wrestling with complex payment gateway APIs.

Core Repository: [**GatePay**](https://github.com/TrayDigita/GatePay-Core)

License
-------

[](#license)

[MIT License](LICENSE) - Use it, modify it, ship it.

---

 **Stop fighting your payment gateway. Start shipping features.**

 Built with ❤️ for developers who have better things to do than debug payment integrations.

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

59d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/37867551?v=4)[ArrayIterator](/maintainers/ArrayIterator)[@ArrayIterator](https://github.com/ArrayIterator)

---

Top Contributors

[![ArrayIterator](https://avatars.githubusercontent.com/u/37867551?v=4)](https://github.com/ArrayIterator "ArrayIterator (2 commits)")

---

Tags

psr-7psr-3phppsr-18payment gatewaydeterministictransaction transport

### Embed Badge

![Health badge](/badges/gatepay-gatepay/health.svg)

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

###  Alternatives

[chillerlan/php-httpinterface

A PSR-7/17/18 http message/client implementation

1417.8k6](/packages/chillerlan-php-httpinterface)[segrax/open-policy-agent

Open Policy Agent client and PSR-7, PSR-15 Authorization Middleware

212.3k](/packages/segrax-open-policy-agent)

PHPackages © 2026

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