PHPackages                             forumpay/payment-gateway-php-client - 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. forumpay/payment-gateway-php-client

ActiveLibrary[Payment Processing](/categories/payments)

forumpay/payment-gateway-php-client
===================================

Payment Gateway PHP Api Client

v1.7.0(3w ago)415.2k—4.1%22MITPHPPHP &gt;=7.4

Since Jul 18Pushed 3w ago2 watchersCompare

[ Source](https://github.com/forumpay/payment-gateway-php-client)[ Packagist](https://packagist.org/packages/forumpay/payment-gateway-php-client)[ RSS](/packages/forumpay-payment-gateway-php-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (9)Versions (23)Used By (2)

Payment Gateway Webhost PHP Client
==================================

[](#payment-gateway-webhost-php-client)

PHP Client for interacting with Payment Gateway Webhost API

Install
=======

[](#install)

Run `composer require forumpay/payment-gateway-php-client`

Usage
=====

[](#usage)

Example usage for getting currency list.

```
use ForumPay\PaymentGateway\PHPClient\PaymentGatewayApi;

$paymentGatewayApi = new PaymentGatewayApi(
    $paymentGatewayUri,
    $apiUser,
    $apiSecret,
    $userAgentApplicationIdentifier
);

try {
    $getCurrencyListResponse = $paymentGatewayApi->getCurrencyList('EUR');
} catch (ApiExceptionInterface $exception) {
    //TODO: handle the exception
}
```

**Where:**

`$paymentGatewayUri` is *Service URL* as per API documentation

`$apiUser` and `$apiSecret` are credentials for *Payment Gateway API Keys*

`$userAgentApplicationIdentifier` represents the user agent application identifier for HTTP the client. Example: (*'MyPaymentApp/1.0.0'*)

[![Payment Gateway API Keys](docs/readme/api-key.png)](docs/readme/api-key.png)

Available endpoints
===================

[](#available-endpoints)

- Ping
- GetRate
- GetRates
- StartPayment
- CheckPayment
- GetTransactions
- CancelPayment
- GetCurrencyList
- RequestKyc
- GetWalletApps

For corresponding methods refer to `PaymentGatewayApiInterface` in `src/PaymentGatewayApiInterface.php`

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance94

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity54

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

Recently: every ~41 days

Total

22

Last Release

26d ago

### Community

Maintainers

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

---

Top Contributors

[![forumpay](https://avatars.githubusercontent.com/u/72375963?v=4)](https://github.com/forumpay "forumpay (22 commits)")

###  Code Quality

TestsPHPUnit

Code StyleECS

### Embed Badge

![Health badge](/badges/forumpay-payment-gateway-php-client/health.svg)

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

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.8k](/packages/symfony-http-kernel)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M219](/packages/api-platform-metadata)

PHPackages © 2026

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