PHPackages                             gtxpoint/paymentpage-sdk - 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. gtxpoint/paymentpage-sdk

ActiveLibrary

gtxpoint/paymentpage-sdk
========================

PHP SDK

1.0.0(1y ago)0284↓50%MITPHP

Since Feb 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/gtxpoint/paymentpage-sdk-php)[ Packagist](https://packagist.org/packages/gtxpoint/paymentpage-sdk)[ RSS](/packages/gtxpoint-paymentpage-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

PHP SDK
=======

[](#php-sdk)

Please note that for correct SDK operating you must have at least PHP 7.0.

Payment flow
------------

[](#payment-flow)

[![Payment flow](flow.png)](flow.png)

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

[](#installation)

Install with composer

```
composer require gtxpoint/paymentpage-sdk
```

### Get URL for payment

[](#get-url-for-payment)

```
$gate = new gtxpoint\Gate('secret');
$payment = new gtxpoint\Payment('11', 'some payment id');
$payment->setPaymentAmount(1000)->setPaymentCurrency('RUB');
$url = $gate->getPurchasePaymentPageUrl($baseUrl, $payment);
```

### Handle callback

[](#handle-callback)

You'll need to autoload this code in order to handle notifications:

```
$gate = new gtxpoint\Gate('secret');
$callback = $gate->handleCallback($data);
```

`$data` is the JSON data received from payment system;

`$callback` is the Callback object describing properties received from payment system; `$callback` implements these methods:

1. `Callback::getPaymentStatus();`Get payment status.
2. `Callback::getPayment();`Get all payment data.
3. `Callback::getPaymentId();`Get payment ID in your system.

### TODO

[](#todo)

- Payment Page opening
- Notifications handling
- Direct Gate requests
- PHPDoc

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance44

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

454d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98fa697e4009c84a6aa0bf55f27341b3c0c8d8a4c70911348887dfdf073257bb?d=identicon)[gtxpoint](/maintainers/gtxpoint)

---

Top Contributors

[![trxhosts](https://avatars.githubusercontent.com/u/98532963?v=4)](https://github.com/trxhosts "trxhosts (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/gtxpoint-paymentpage-sdk/health.svg)

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

PHPackages © 2026

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