PHPackages                             webpayby/webpayby-payment-json-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. [Payment Processing](/categories/payments)
4. /
5. webpayby/webpayby-payment-json-sdk

ActiveLibrary[Payment Processing](/categories/payments)

webpayby/webpayby-payment-json-sdk
==================================

SDK for simple making payment request to Webpay

1.0.2(2y ago)21.4k↓22.2%1[1 PRs](https://github.com/WebpayDev/payment-json-sdk/pulls)PHPPHP &gt;=7.1

Since Oct 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/WebpayDev/payment-json-sdk)[ Packagist](https://packagist.org/packages/webpayby/webpayby-payment-json-sdk)[ RSS](/packages/webpayby-webpayby-payment-json-sdk/feed)WikiDiscussions master Synced 3w ago

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

General information
===================

[](#general-information)

- PHP 7.1 or above
- You need Webpay account mail us on

Installation
============

[](#installation)

To use the SDK

```
composer require webpayby/webpayby-payment-json-sdk

```

Usage
=====

[](#usage)

- Simple request

```
        $merchantId = 'YOUR_MERCHANT_ID';
        $secretKey = 'YOUR_SECRET_KEY';

        $payment = new Payment($merchantId);

        $payment
            ->setTest(1)
            ->setCurrencyId(Currency::BYN)
            ->setLanguageId(Language::EN)
            ->setOrderNum(uniqid(time()))
            ->setInvoiceItem('Item1', 4.5)
            ->setInvoiceItem('Item2', 2, 2)
            ->setTotal(8.5)
            ->setReturnUrl('http://example.com/success')
            ->setCancelReturnUrl('http://example.com/cancel')
            ->setNotifyUrl('http://example.com/notify');

        $gate = new Gateway($secretKey, RequestPoint::SANDBOX_PAYMENT);
        $response = $gate->sendRequest($payment);

        $redirectUrl = $response['redirectUrl'] ?? '';
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~513 days

Total

3

Last Release

1036d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93c9cdc7e525b1812f1614b7900b01785adf15b2a673e5ae484c6bf66a2ae37a?d=identicon)[WebpayDev](/maintainers/WebpayDev)

---

Top Contributors

[![WebpayDev](https://avatars.githubusercontent.com/u/57894840?v=4)](https://github.com/WebpayDev "WebpayDev (4 commits)")[![hilchenko-evgeny](https://avatars.githubusercontent.com/u/57709505?v=4)](https://github.com/hilchenko-evgeny "hilchenko-evgeny (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webpayby-webpayby-payment-json-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/webpayby-webpayby-payment-json-sdk/health.svg)](https://phpackages.com/packages/webpayby-webpayby-payment-json-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.3M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.4M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

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