PHPackages                             rozetkapay/php-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. rozetkapay/php-sdk

ActiveLibrary[Payment Processing](/categories/payments)

rozetkapay/php-sdk
==================

RozetkaPay php sdk

v1.0.0(1y ago)3306↓42.9%1[2 issues](https://github.com/rozetkapay/php-sdk/issues)MITPHPPHP ^5.4|^7.0|^8.0

Since Apr 4Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/rozetkapay/php-sdk)[ Packagist](https://packagist.org/packages/rozetkapay/php-sdk)[ RSS](/packages/rozetkapay-php-sdk/feed)WikiDiscussions main Synced today

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

RPay PHP-SDK
============

[](#rpay-php-sdk)

 [![](https://camo.githubusercontent.com/8bc383897f6dd6398cd4a6ff16c6b0aca56c2551e49a04c75733f31330a90e14/68747470733a2f2f726f7a65746b617061792e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30372f726f7a65746b612d7061792e737667)](https://camo.githubusercontent.com/8bc383897f6dd6398cd4a6ff16c6b0aca56c2551e49a04c75733f31330a90e14/68747470733a2f2f726f7a65746b617061792e636f6d2f77702d636f6e74656e742f75706c6f6164732f323032332f30372f726f7a65746b612d7061792e737667)

Payment service provider
------------------------

[](#payment-service-provider)

A payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods. [read more](https://en.wikipedia.org/wiki/Payment_service_provider)

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

[](#installation)

Simple Start
------------

[](#simple-start)

```
require 'vendor/autoload.php';
//test
//\RozetkaPay\Configuration::setDev();

//or
\RozetkaPay\Configuration::setBasicAuth("a6a29002-dc68-4918-bc5d-51a6094b14a8", 'XChz3J8qrr');

\RozetkaPay\Configuration::setResultUrl('https://localhost:8000/result');
\RozetkaPay\Configuration::setCallbackUrl('https://localhost:8000/callback');

//Creates an endpoint for Payment
$rpay = new \RozetkaPay\Api\Payment();

//Creates an instance with payment data
$dataRequest = new \RozetkaPay\Model\Payment\RequestCreatePay();

$dataRequest->amount = 100;
$dataRequest->external_id = 500209;

/**  @var \RozetkaPay\Model\Payment\Responses $data */
/**  @var \RozetkaPay\Model\ResponsesError $error */
list($data, $error) = $rpay->create($dataRequest);

if($data !== false){
    print $data->getCheckoutUrl();
}else{
    print_r($error);
}
```

Api
===

[](#api)

See [Docs](https://cdn.rozetkapay.com/public-docs/index.html)

Examples
--------

[](#examples)

To check it you can use build-in php server

```
cd ~/examples
php -S localhost:8000
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

455d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e74c3737b72b9a2a423147e794c7d34c8cebea75e17fe14a098dcf0757a9e64f?d=identicon)[NewTik](/maintainers/NewTik)

---

Top Contributors

[![ols-tarasenko](https://avatars.githubusercontent.com/u/1942883?v=4)](https://github.com/ols-tarasenko "ols-tarasenko (6 commits)")[![Stanislav93](https://avatars.githubusercontent.com/u/8688891?v=4)](https://github.com/Stanislav93 "Stanislav93 (5 commits)")[![SerhiiMandrykin](https://avatars.githubusercontent.com/u/25152924?v=4)](https://github.com/SerhiiMandrykin "SerhiiMandrykin (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rozetkapay-php-sdk/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18579.5k1](/packages/omnipay-coinbase)[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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