PHPackages                             flamix/kassa - 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. flamix/kassa

ActiveLibrary

flamix/kassa
============

Official PHP SDK for FLAMIX.KASSA

1721[1 PRs](https://github.com/fx-kassa/sdk-php/pulls)PHP

Since Oct 16Pushed 5y agoCompare

[ Source](https://github.com/fx-kassa/sdk-php)[ Packagist](https://packagist.org/packages/flamix/kassa)[ RSS](/packages/flamix-kassa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

FLAMIX.KASSA SDK EXAMPLES
-------------------------

[](#flamixkassa-sdk-examples)

### Check payments

[](#check-payments)

```
try {
    $kassa = new \Flamix\Kassa\API( 'cashbox_public_id' );

    //Check
    if(!$kassa->setSecretKey('cash_box_secretecode_REQUIRED')->setTestSecretKey('cash_box_TEST_secretecode_NOT_required')->isPaymentSuccess($_POST))
        exit();

    //If OK, you can use (all variables you can check in vendors/flamix/kassa/Actions/Check.php)
    $kassa->amount;
    $kassa->cashbox_currency;
    $kassa->order_id;
    $kassa->custom_info;
} catch (Exception $e) {
    echo $e->getMessage();
    exit();
}
```

### Work with Cashbox

[](#work-with-cashbox)

```
try {
    $kassa = new \Flamix\Kassa\API( 'cashbox_public_id', 'account_api_key' );

    //Manual
    $kassa->exec('getPayments');

    //Get all Payments Systems
    $kassa->getCashboxPaymentSystems();

    //Get URL to link (default), qr or form
    $kassa->setAmount(11)->setCurrency('USD')->setPaymentType('form')->getPaymentRequest();
} catch (Exception $e) {
    echo $e->getMessage();
}
```

Reccurent method
----------------

[](#reccurent-method)

```
try {
    $kassa = new \Flamix\Kassa\API( 'cashbox_public_id', 'account_api_key' );

    $kassa->setSecretKey('cashbox_secret_code');

    //Find Reccurent by musk
    $kassa->setCustomInfo('4')->findReccurentPayment();

    //Pay by saved card use musk
    $kassa->setCustomInfo('u4')->setAmount(5)->setCurrency('UAH')->doReccurentPayment();

    //Pay by saved card use PAY_ID
    $kassa->setPaymentId('0-0-0-0-0-0')->setAmount(5)->setCurrency('UAH')->doReccurentPayment();

    //Delete by musk
    $kassa->setCustomInfo('u4')->deleteReccurentPayment();

} catch (Exception $e) {
    echo $e->getMessage();
}
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity35

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/888ea3bfd61ac334551eb6b1dd2151c64022986f82c690cc87aa2db82d84a888?d=identicon)[flamix](/maintainers/flamix)

---

Top Contributors

[![yura1106](https://avatars.githubusercontent.com/u/5559229?v=4)](https://github.com/yura1106 "yura1106 (4 commits)")[![rshkabko](https://avatars.githubusercontent.com/u/33148760?v=4)](https://github.com/rshkabko "rshkabko (1 commits)")

### Embed Badge

![Health badge](/badges/flamix-kassa/health.svg)

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

PHPackages © 2026

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