PHPackages                             churakovmike/yii2-free-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. [Payment Processing](/categories/payments)
4. /
5. churakovmike/yii2-free-kassa

ActiveYii2-extension[Payment Processing](/categories/payments)

churakovmike/yii2-free-kassa
============================

Yii2 extension for Free Kassa

1.3(6y ago)3532MITPHPPHP &gt;=5.4.0

Since Mar 9Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Churakovmike/yii2-free-kassa)[ Packagist](https://packagist.org/packages/churakovmike/yii2-free-kassa)[ RSS](/packages/churakovmike-yii2-free-kassa/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (6)Used By (0)

Yii2-free-kassa
===============

[](#yii2-free-kassa)

Yii2 free kassa extension. This packages provide to you forms, action filters, and component.

[![Latest Stable Version](https://camo.githubusercontent.com/1264187d67f21e387100d4e85d29e3c2953ca587cfe07beff0e417e23726c02b/68747470733a2f2f706f7365722e707567782e6f72672f63687572616b6f766d696b652f796969322d667265652d6b617373612f762f737461626c65)](https://packagist.org/packages/churakovmike/yii2-free-kassa)[![License](https://camo.githubusercontent.com/eba8171a95723425500912961243576c246820eb1517fddeef2920447274b08a/68747470733a2f2f706f7365722e707567782e6f72672f63687572616b6f766d696b652f796969322d667265652d6b617373612f6c6963656e7365)](https://packagist.org/packages/churakovmike/yii2-free-kassa)

Getting started
===============

[](#getting-started)

install
-------

[](#install)

The package is available on packagist.

```
composer require churakovmike/yii2-free-kassa
```

or add to require section

```
"churakovmike/yii2-free-kassa": "~1.3"
```

Add components to config
------------------------

[](#add-components-to-config)

You need to add component config in main-local.php

```
'freeKassaComponent' => [
    'class' => \ChurakovMike\Freekassa\FreeKassaComponent::class,
    'merchantId' => 'merchant-id',
    'firstSecret' => 'your-first-secret',
    'secondSecret' => 'your-second-secret',
],
```

Add action filter(optional)
---------------------------

[](#add-action-filteroptional)

If you want to check callback sender, you need to add CheckIpFilter to behaviours

```
public function behaviors()
{
    return [
        ChurakovMike\Freekassa\filters\CheckIpFilter::class,
     ]
}
```

Forms usage
-----------

[](#forms-usage)

This package provide to you form for fast load and validate free-kassa callback.

```
$form = new ChurakovMike\Freekassa\forms\SuccessPayForm();
$form->setAttributes(\Yii::$app->request->post());
$form->validate();
```

Components usage
----------------

[](#components-usage)

```
/** @var FreeKassaComponent $component */
$component = \Yii::$app->freeKassaComponent;
```

### Check signature with component

[](#check-signature-with-component)

```
/** @var FreeKassaComponent $component */
$component = \Yii::$app->freeKassaComponent;
$component->validateSignature($amount, $orderId, $signature);
```

You can take signature from SuccessPayForm in property $form-&gt;sign

### Generate pyment link

[](#generate-pyment-link)

```
/** @var FreeKassaComponent $component */
$component = \Yii::$app->freeKassaComponent;
$component->generatePaymentLink($orderId, $sum, $description);
```

### Export orders to xml

[](#export-orders-to-xml)

```
$orders = $component->exportOrders($limit, $offset, $status, $dateFrom, $dateTo);
```

### Check balance

[](#check-balance)

```
$balance = $component->getBalance();
```

### Check order

[](#check-order)

```
$balance = $component->getOrder($orderId, $intid);
```

### Withdraw money

[](#withdraw-money)

```
$withdraw = $component->withdraw($amount, $currency);
```

### Invoicing

[](#invoicing)

```
$invoice = $component->invoice($email, $amount, $description);
```

### Get wallet balance

[](#get-wallet-balance)

```
$balance = $component->getWalletBalance();
```

### Withdraw money from wallet

[](#withdraw-money-from-wallet)

```
$withdraw = $component->walletWithdraw($purse, $amount, $currency, $desc, $disableExchange);
```

### Get wallet operation status

[](#get-wallet-operation-status)

```
$status = $component->getOperationStatus($paymentId);
```

### Transfer money to another wallet

[](#transfer-money-to-another-wallet)

```
$transfer = $component->transferMoney($purse, $amount);
```

### Payment for online services

[](#payment-for-online-services)

```
$payment = $component->onlinePayment($serviceId, $account, $amount);
```

### Get list of services for online payment

[](#get-list-of-services-for-online-payment)

```
$list = $component->getOnlineServices();
```

### Check status online payment

[](#check-status-online-payment)

```
$status = $component->getOnlinePaymentStatus($paymentId);
```

### Create crypto walllet address

[](#create-crypto-walllet-address)

```
$btc = $component->createBTCAddress();
$ltc = $component->createLTCAddress();
$eth = $component->createETHAddress();
```

### Get crypto wallet address

[](#get-crypto-wallet-address)

```
$btc = $component->getBTCAddress();
$ltc = $component->getLTCAddress();
$eth = $component->getETHAddress();
```

### Get information about transaction

[](#get-information-about-transaction)

```
$btcTransaction = $component->getBTCTransaction();
$ltcTransaction = $component->getLTCTransaction();
$ethTransaction = $component->getETHTransaction();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Every ~4 days

Total

5

Last Release

2240d ago

Major Versions

0.1 → 1.02020-03-09

### Community

Maintainers

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

---

Top Contributors

[![Churakovmike](https://avatars.githubusercontent.com/u/8476343?v=4)](https://github.com/Churakovmike "Churakovmike (18 commits)")

---

Tags

yii2yii2-extensionfree kassa

### Embed Badge

![Health badge](/badges/churakovmike-yii2-free-kassa/health.svg)

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

PHPackages © 2026

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