PHPackages                             businessprocess/payhub-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. businessprocess/payhub-sdk

ActiveLibrary

businessprocess/payhub-sdk
==========================

Sdk for payhub

v2.1.2(7mo ago)14.3k↓100%MITPHPPHP ^8.0

Since Mar 21Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/businessprocess/payhub-sdk)[ Packagist](https://packagist.org/packages/businessprocess/payhub-sdk)[ RSS](/packages/businessprocess-payhub-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (49)Used By (0)

Payhub PHP SDK
==============

[](#payhub-php-sdk)

[![PHP 8.x](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)](https://camo.githubusercontent.com/29e76b25f44fd19ba3a88f85f00b3ac7329ffd604075db0fbbeda87f6c794491/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e302d626c7565)[![Laravel 8.x](https://camo.githubusercontent.com/3c7441bb2ae21c31ca18ffa084e2fb51a956727722dbd18b850336439becc367/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d382e782d6f72616e67652e737667)](http://laravel.com)[![Yii 2.x](https://camo.githubusercontent.com/ff8999e0e5a1e46689cc5a19d1d0f07ffafaa842838a983a2c4469458a1defa8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5969692d322e782d6f72616e6765)](https://www.yiiframework.com/doc/guide/2.0/ru)[![Latest Stable Version](https://camo.githubusercontent.com/755c557548d00e939fbb9673d1199caeae089055d271b77bc99a8b1303dc5dda/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f7061796875622d73646b2f762f737461626c65)](https://packagist.org/packages/businessprocess/payhub-sdk)[![Release date](https://camo.githubusercontent.com/e7a992a46e79ae7df19a6ccbcc5d3af08e2a91eec60e59728ea2d32aa700ff1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f627573696e65737370726f636573732f7061796875622d73646b)](https://camo.githubusercontent.com/e7a992a46e79ae7df19a6ccbcc5d3af08e2a91eec60e59728ea2d32aa700ff1b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f627573696e65737370726f636573732f7061796875622d73646b)[![Release Version](https://camo.githubusercontent.com/d4ec9cbd925b779d37629b0e8b361ca060075be14acd1e0d3f9993b91986293e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627573696e65737370726f636573732f7061796875622d73646b)](https://camo.githubusercontent.com/d4ec9cbd925b779d37629b0e8b361ca060075be14acd1e0d3f9993b91986293e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f627573696e65737370726f636573732f7061796875622d73646b)[![Total Downloads](https://camo.githubusercontent.com/2fa851ff01e516160d2076c8e9c129b07eba27e1ae9199fc04da1dfee7b03adc/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f7061796875622d73646b2f646f776e6c6f616473)](https://camo.githubusercontent.com/2fa851ff01e516160d2076c8e9c129b07eba27e1ae9199fc04da1dfee7b03adc/68747470733a2f2f706f7365722e707567782e6f72672f627573696e65737370726f636573732f7061796875622d73646b2f646f776e6c6f616473)[![Pull requests](https://camo.githubusercontent.com/93149dacf3342378b64fb68ce2207d92b0082296e4750b1cd57e5a08a9d35c43/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f70722f627573696e65737370726f636573732f7061796875622d73646b)](https://camo.githubusercontent.com/93149dacf3342378b64fb68ce2207d92b0082296e4750b1cd57e5a08a9d35c43/68747470733a2f2f696d672e736869656c64732e696f2f6269746275636b65742f70722f627573696e65737370726f636573732f7061796875622d73646b)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Stars](https://camo.githubusercontent.com/4e2d534bbe17d861b76d301ff1d2a276577a2aeda126c769208124db9b0c2788/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f627573696e65737370726f636573732f7061796875622d73646b3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/4e2d534bbe17d861b76d301ff1d2a276577a2aeda126c769208124db9b0c2788/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f627573696e65737370726f636573732f7061796875622d73646b3f7374796c653d736f6369616c)

Payhub SDK is a PSR-compatible PHP package for working with payhub api.

[API Documentation](https://payhub.ooo.ua/api/api-docs/)

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

[](#installation)

The recommended way to install Payhub SDK is through [Composer](http://getcomposer.org).

```
# Install Composer
curl -sS https://getcomposer.org/installer | php
```

Next, run the Composer command to install the latest stable version of Guzzle:

```
composer require businessprocess/payhub-sdk
```

After installing, you need to require Composer's autoloader:

```
require 'vendor/autoload.php';
```

You can then later update Guzzle using composer:

```
composer update
```

Usage
-----

[](#usage)

```
$client = new \Payhub\Service\Payhub([
    'url' => '', # Project url
    'token' => Oidc::serviceToken(), # Api token
]);
$order = \Payhub\Models\Order::make([
    'type' => 1,
    'callback_url' => 'https://your-callback.url',
    ...
]);
$response = $client->create($order);

echo $response->all(); # '[{"link": ...}'
```

Usage Laravel
-------------

[](#usage-laravel)

```
$order = \Payhub\Models\Order::make([
    'type' => 1,
    'callback_url' => 'https://your-callback.url',
    ...
]);
$response = \Payhub\Facade\Payhub::create($order);

echo $response->all(); # '[{"link": ...}'
```

#### Available Methods

[](#available-methods)

MethodsDescriptionReturn valuecreateCreate orderOrderCreateResponsegetListGet order listarraygetByIdGet order by idOrdergetPaymentMethodsGet available payment methodsarraygetTurnoverGet turnover by payment methodsPaymentTurnoverwebhookGet webhook methodsWebhook

###  Health Score

44

—

FairBetter than 91% of packages

Maintenance66

Regular maintenance activity

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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 ~19 days

Recently: every ~106 days

Total

48

Last Release

235d ago

Major Versions

v1.3.1 → v2.0.02023-12-15

### Community

Maintainers

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

---

Top Contributors

[![maveriksEcho](https://avatars.githubusercontent.com/u/40034131?v=4)](https://github.com/maveriksEcho "maveriksEcho (62 commits)")[![motor-ua](https://avatars.githubusercontent.com/u/10684775?v=4)](https://github.com/motor-ua "motor-ua (1 commits)")[![vov41knk](https://avatars.githubusercontent.com/u/2713991?v=4)](https://github.com/vov41knk "vov41knk (1 commits)")

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/businessprocess-payhub-sdk/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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