PHPackages                             uzdevid/yii2-apelsin - 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. uzdevid/yii2-apelsin

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

uzdevid/yii2-apelsin
====================

Integration with the "Apelsin" payment system

1.0(3y ago)119MITPHP

Since Oct 20Pushed 3y agoCompare

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

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

Apelsin
=======

[](#apelsin)

Integration with the "Apelsin" payment system

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist uzdevid/yii2-apelsin "dev-main"

```

or add

```
"uzdevid/yii2-apelsin": "dev-main"

```

to the require section of your `composer.json` file.

---

Usage
-----

[](#usage)

**Note: You can use this extension after creating a contract between the Apelsin service and your company. And you can use most of the methods only when you create your company as a payment system through the Central Bank of the Republic of Uzbekistan.**

---

Login and password can be obtained from the technical specialists of the Apelsin service

```
    $config = [
        'login' => '',
        'password' => ''
    ];
```

Creating an instance of a class

```
    $apelsin = new uzdevid\apelsin\Apelsin($config);
```

### Working with cards

[](#working-with-cards)

---

#### Getting p2p information about the card (cards.get\_p2p\_info)

[](#getting-p2p-information-about-the-card-cardsget_p2p_info)

params:

1. card number is string

```
    $card = $apelsin->card->info('');
```

---

#### Getting card data by card number and expiry date (cards.get)

[](#getting-card-data-by-card-number-and-expiry-date-cardsget)

params:

1. card number is string or array
2. expiry date is string

```
    $card = $apelsin->card->data('', '');
```

or (cards.get\_some)

```
    $cards = [
        ['token' => '', 'expire' => ''],
        ['token' => '', 'expire' => ''],
        ['token' => '', 'expire' => ''],
    ];
    $card = $apelsin->card->data($cards);
```

---

#### Getting card data by token (cards.get)

[](#getting-card-data-by-token-cardsget)

params:

1. token is string or array

```
    $card = $apelsin->card->dataByToken('');
```

or (cards.get\_some)

```
    $tokens = ['', '', ''];
    $card = $apelsin->card->dataByToken($tokens);
```

---

#### Getting a phone number linked to a card by card number and expiry date (cards.get\_phone)

[](#getting-a-phone-number-linked-to-a-card-by-card-number-and-expiry-date-cardsget_phone)

params:

1. card number is string
2. expiry date is string

```
    $card = $apelsin->card->phone('', '');
```

---

#### Getting a phone number linked to a card by token (cards.get\_phone)

[](#getting-a-phone-number-linked-to-a-card-by-token-cardsget_phone)

params:

1. token is string

```
    $card = $apelsin->card->phoneByToken('');
```

---

#### Method that will block the card (cards.block)

[](#method-that-will-block-the-card-cardsblock)

params:

1. token is string

```
    $card = $apelsin->card->block('');
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

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

1298d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

yii2extensionapelsin

### Embed Badge

![Health badge](/badges/uzdevid-yii2-apelsin/health.svg)

```
[![Health](https://phpackages.com/badges/uzdevid-yii2-apelsin/health.svg)](https://phpackages.com/packages/uzdevid-yii2-apelsin)
```

###  Alternatives

[kroshilin/yii2-yandex-kassa

Yandex kassa as Yii2 component

2931.0k](/packages/kroshilin-yii2-yandex-kassa)

PHPackages © 2026

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