PHPackages                             paycore/xpayua - 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. paycore/xpayua

ActiveLibrary

paycore/xpayua
==============

Simplify work with xpayua api

025.6k↓30.8%1PHP

Since Mar 9Pushed 3y ago6 watchersCompare

[ Source](https://github.com/paycoreio/xpayua)[ Packagist](https://packagist.org/packages/paycore/xpayua)[ RSS](/packages/paycore-xpayua/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Library for Xpay
================

[](#library-for-xpay)

This library aims to perform cryptographic operations for interaction with [XPay](https://xpay.com.ua/).

### Key generation

[](#key-generation)

This command will create 2 files in a current directory. Send a public key to XPayua. **Never share the private-key**.

```
./bin/generate-keys

```

### Usage

[](#usage)

```
$privateKey = ''; // your private key
$publicKey = ''; // key that you've got from XPayua
$manager = new CryptManager();

$requestData = ['ID' => ''];

$partner = [
    'PartnerToken' => 'TOKEN', // that you've got from XPayua
    'OperationType' => 12345, // integer id of operation
];

$data = [
      'Partner' => $partner,
      'Data' => $cryptManager->encrypt($requestData),
      'KeyAES' => $cryptManager->getEncryptedAESKey($publicKey),
      'Sign' => $cryptManager->getSignedKey($privateKey),
];
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d3834393f8093286a88277f704ad689eeb41333ed2d94ed12eb83e622901286?d=identicon)[dzubchik](/maintainers/dzubchik)

---

Top Contributors

[![dzubchik](https://avatars.githubusercontent.com/u/2685761?v=4)](https://github.com/dzubchik "dzubchik (4 commits)")[![Pashkalab](https://avatars.githubusercontent.com/u/26350578?v=4)](https://github.com/Pashkalab "Pashkalab (1 commits)")

### Embed Badge

![Health badge](/badges/paycore-xpayua/health.svg)

```
[![Health](https://phpackages.com/badges/paycore-xpayua/health.svg)](https://phpackages.com/packages/paycore-xpayua)
```

PHPackages © 2026

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