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 1mo ago

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 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity40

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

1122d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/897ac1a2442a3b169df65481f561426c159810f90ce79b9665e896883420ebba?d=identicon)[sergeykomlev](/maintainers/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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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