PHPackages                             vadgab/yii2-borgun-api - 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. vadgab/yii2-borgun-api

ActiveYii2-extension

vadgab/yii2-borgun-api
======================

The application is a YII2-Extension for the Borgun API

05PHP

Since Sep 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vadgab/yii2-borgun-api)[ Packagist](https://packagist.org/packages/vadgab/yii2-borgun-api)[ RSS](/packages/vadgab-yii2-borgun-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://avatars0.githubusercontent.com/u/993323) ](https://github.com/yiisoft)

Yii2 Borgun / saltPay Api Extension
===================================

[](#yii2-borgun--saltpay-api-extension)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/):

```
composer require --prefer-dist vadgab/yii2-borgun-api

```

Settings:

​ config/params.php

```
return [
...,
'base_url'=> 'http://*url*',
...
]

```

​

Basic Usage
-----------

[](#basic-usage)

General use can be tried through the following examples:

- Create payment

    ```
    use vadgab\Yii2BorgunApi\BorgunApi;

    $payment = new BorgunApi;

    $payment->test = 1;

     /* merchant variables */
    $payment->secretKey = "cdedfbb6ecab4a4994ac880144dd92dc";
    $payment->merchantid = "9256684";
    $payment->paymentgatewayid = "471";

     /* payment variables */
    $payment->orderid = "ORDER123001";
    $payment->currency = "HUF";
    $payment->language = "HU";
    $payment->buyername = "Gábor Vadász";
    $payment->buyeremail = "vadgab@allstar.hu";
    $payment->amount = "110";

    $payment->item['description'] = "Teszt product";
    $payment->item['count'] = "1";
    $payment->item['unitamount'] = "110";
    $payment->item['amount'] = "110";
    $payment->addItem();

    /* Send payment */
    $payment->sendPayment();
    ```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f4ce45ea3e7a9241048500bdbbfcfc0a834b8fdc95d0ac51a8b82404b2de17d?d=identicon)[vadgab](/maintainers/vadgab)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/vadgab-yii2-borgun-api/health.svg)

```
[![Health](https://phpackages.com/badges/vadgab-yii2-borgun-api/health.svg)](https://phpackages.com/packages/vadgab-yii2-borgun-api)
```

PHPackages © 2026

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