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

ActiveLibrary[Payment Processing](/categories/payments)

cryptonator/merchant-php-sdk
============================

Cryptonator.com Merchant API SDK for PHP

v1.0(9y ago)2713.7k13[1 issues](https://github.com/cryptonator/merchant-api-sdk-php/issues)[1 PRs](https://github.com/cryptonator/merchant-api-sdk-php/pulls)MITPHPPHP &gt;=5.3.0

Since Oct 9Pushed 4y ago8 watchersCompare

[ Source](https://github.com/cryptonator/merchant-api-sdk-php)[ Packagist](https://packagist.org/packages/cryptonator/merchant-php-sdk)[ RSS](/packages/cryptonator-merchant-php-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP Cryptonator.com Merchant API SDK
====================================

[](#php-cryptonatorcom-merchant-api-sdk)

Requirements
------------

[](#requirements)

PHP 5.3 or above

Links
-----

[](#links)

1. Cryptonator MerchantAPI Help Center: [Ru](https://cryptonator.zendesk.com/hc/ru/categories/200829259), [En](https://cryptonator.zendesk.com/hc/en-us/categories/200829259)

Getting started
---------------

[](#getting-started)

### Installation

[](#installation)

1. Add `"cryptonator/merchant-php-sdk": "dev-master"` to `composer.json` of your application or clone repo to your project.
2. If you are using composer use `require_once 'vendor/autoload.php';` otherwise paste the following line ```
    require_once '/path/to/cloned/repo/lib/MerchantAPI.php';
    ```

### Merchant API

[](#merchant-api)

Using Cryptonator MerchantAPI SDK requires the following steps

1. Paste the following code. Note: constants `merchant_id` and `secret` you will find in your account settings once you have [set up a merchant account](https://www.cryptonator.com/auth/signup/) with Cryptonator.

    ```
    use cryptonator\MerchantAPI;

    $cryptonator = new MerchantAPI(merchant_id, secret);
    ```
2. Now you can use Cryptonator MerchantAPI.

    ```
    // start payment
    $url = $cryptonator->startPayment(array(
       'item_name'               => 'Item Name',
       //'order_id'              => 'Order ID',
       //'item_description'      => 'Item Description',
       'invoice_amount'          => 'Invoice Amount',
       'invoice_currency'        => 'Invoice Currency',
       //'success_url'           => 'Success URL',
       //'failed_url'            => 'Failed URL',
       //'language'              => 'Language',
    ));

    // create invoice
    $invoice = $cryptonator->createInvoice(array(
        'item_name'               => 'Item Name',
        //'order_id'              => 'Order ID',
        //'item_description'      => 'Item Description',
        'checkout_currency'       => 'Checkout Amount',
        'invoice_amount'          => 'Invoice Amount',
        'invoice_currency'        => 'Invoice Currency',
        //'success_url'           => 'Success URL',
        //'failed_url'            => 'Failed URL',
        //'language'              => 'Language',
     ));

    // get invoice
    $invoice = $cryptonator->getInvoice('InvoiceID');

    // list invoices
    $invoices = $cryptonator->listInvoices(array(
        //'invoice_status'       => 'Invoice Status',
        //'invoice_currency'     => 'Invoice Currency',
        //'checkout_currency'    => 'Checkout Currency',
    ));

    // check annswer
    $check_server = $cryptonator->checkAnswer($_POST);
    ```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

3505d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1b839dfbc3d47130bfd36b371f1ba11077f81e7928bf644a699547ec585ff9a8?d=identicon)[cryptonator](/maintainers/cryptonator)

---

Top Contributors

[![Sambucho](https://avatars.githubusercontent.com/u/12876688?v=4)](https://github.com/Sambucho "Sambucho (2 commits)")

---

Tags

phpsdkpaymentmerchantcryptonatorcryptonator.com

### Embed Badge

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

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

###  Alternatives

[yandex-money/yandex-money-sdk-php

Yandex.Money API SDK for PHP

105167.4k2](/packages/yandex-money-yandex-money-sdk-php)

PHPackages © 2026

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