PHPackages                             itelmenko/ecommpay-php5-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. itelmenko/ecommpay-php5-sdk

ActiveLibrary

itelmenko/ecommpay-php5-sdk
===========================

Ecommpay SDK

v0.10(7y ago)037.0k↓42.9%PHP

Since Jul 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/itelmenko/paymentpage_sdk)[ Packagist](https://packagist.org/packages/itelmenko/ecommpay-php5-sdk)[ RSS](/packages/itelmenko-ecommpay-php5-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (12)Used By (0)

EcommPay PHP SDK
================

[](#ecommpay-php-sdk)

Forked from [ecommpay/paymentpage-sdk](https://github.com/ITECOMMPAY/paymentpage_sdk)

[![Build Status](https://camo.githubusercontent.com/42613634f9b5f26b703bef47e0ab6ae9b3659d22c478cc2703b23253d48e4cd2/68747470733a2f2f7472617669732d63692e6f72672f495445434f4d4d5041592f7061796d656e74706167655f73646b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ITECOMMPAY/paymentpage_sdk)[![Test Coverage](https://camo.githubusercontent.com/44444e8843dffa967da0da617fdab6c62cc273befdee6efbec8852c5610333dd/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31336630333835333331363432343631636261372f746573745f636f766572616765)](https://codeclimate.com/github/ITECOMMPAY/paymentpage_sdk/test_coverage)[![Maintainability](https://camo.githubusercontent.com/7e055b970f90e1d3db1cb5ed8c466724c2fca9153f9968b78f91036910950b8e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31336630333835333331363432343631636261372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ITECOMMPAY/paymentpage_sdk/maintainability)

This is a set of libraries in the PHP language to ease integration of your service with the EcommPay Payment Page.

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

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

[](#payment-flow)

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

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

[](#installation)

Install with composer

```
composer require ecommpay/paymentpage-sdk
```

### Get URL for payment

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

```
$gate = new ecommpay\Gate('secret');
$payment = new ecommpay\Payment(100);
$payment->setPaymentAmount(1000)->setPaymentCurrency('RUB');
$url = $gate->getPurchasePaymentPageUrl($payment);
```

`$url` here is the signed URL.

### Handle callback from Ecommpay

[](#handle-callback-from-ecommpay)

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

```
$gate = new ecommpay\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

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.9% 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 ~1 days

Total

10

Last Release

2737d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41b594912918f5f6904bcee79f1b5056b913a4a7b000c121baa3cd5dcfe8345c?d=identicon)[itelmenko](/maintainers/itelmenko)

---

Top Contributors

[![itelmenko](https://avatars.githubusercontent.com/u/495449?v=4)](https://github.com/itelmenko "itelmenko (11 commits)")[![zhukovra](https://avatars.githubusercontent.com/u/289431?v=4)](https://github.com/zhukovra "zhukovra (4 commits)")[![blakw0lf](https://avatars.githubusercontent.com/u/454333?v=4)](https://github.com/blakw0lf "blakw0lf (3 commits)")[![sgnrslv](https://avatars.githubusercontent.com/u/16165262?v=4)](https://github.com/sgnrslv "sgnrslv (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/itelmenko-ecommpay-php5-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/itelmenko-ecommpay-php5-sdk/health.svg)](https://phpackages.com/packages/itelmenko-ecommpay-php5-sdk)
```

PHPackages © 2026

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