PHPackages                             graftype/cloudpayments-php-client - 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. [API Development](/categories/api)
4. /
5. graftype/cloudpayments-php-client

ActiveLibrary[API Development](/categories/api)

graftype/cloudpayments-php-client
=================================

Client for CloudPayments.ru

1.0.0(3y ago)06MITPHPPHP &gt;=5.5

Since Apr 22Pushed 3y agoCompare

[ Source](https://github.com/graftype/cloudpayments-php-client)[ Packagist](https://packagist.org/packages/graftype/cloudpayments-php-client)[ RSS](/packages/graftype-cloudpayments-php-client/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)DependenciesVersions (3)Used By (0)

CloudPayments PHP Client Library
================================

[](#cloudpayments-php-client-library)

Клиент для платежного сервиса [CloudPayments](http://cloudpayments.ru/). Позволяет обращаться к [API CloudPayments](http://cloudpayments.ru/Docs/Api) из кода на PHP.

Установка
---------

[](#установка)

composer.json

```
{
    ....
    "repositories": [
        {
            "type": "git",
            "url": "git@github.com:graftype/cloudpayments-php-client.git"
        }
    ]
}
```

```
composer require graftype/cloudpayments-php-client
```

Использование
-------------

[](#использование)

```
$client = new \CloudPayments\Manager($publicKey, $privateKey);
$transaction = $client->chargeToken($amount, $currency, $accountId, $cardToken);

echo $transaction->getId();
```

Передача чека в онлайн-кассу
----------------------------

[](#передача-чека-в-онлайн-кассу)

```
$items[] = array(
            "label" => 'Товар реальный', //наименование товара
            "price" => 30.00, //цена
            "quantity" => 3.00, //количество
            "amount" => 90.00, //сумма
            "vat" => 18, //ставка НДС
            "ean13" => '460123456789' //штрих-код, необязательный
);
$client->sendReceipt($inn, $invoiceId, $accountId, $items, $taxationSystem, $email, $phone);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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

Unknown

Total

1

Last Release

1168d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40078038?v=4)[Sergey Komlev](/maintainers/sergeykomlev)[@sergeykomlev](https://github.com/sergeykomlev)

---

Top Contributors

[![sergeykomlev](https://avatars.githubusercontent.com/u/40078038?v=4)](https://github.com/sergeykomlev "sergeykomlev (10 commits)")[![dmkcv](https://avatars.githubusercontent.com/u/5673153?v=4)](https://github.com/dmkcv "dmkcv (2 commits)")[![tttptd](https://avatars.githubusercontent.com/u/1280981?v=4)](https://github.com/tttptd "tttptd (1 commits)")

### Embed Badge

![Health badge](/badges/graftype-cloudpayments-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/graftype-cloudpayments-php-client/health.svg)](https://phpackages.com/packages/graftype-cloudpayments-php-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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