PHPackages                             fintech-fab/bank-emulator-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. [API Development](/categories/api)
4. /
5. fintech-fab/bank-emulator-sdk

ActiveLibrary[API Development](/categories/api)

fintech-fab/bank-emulator-sdk
=============================

PHP SDK for Bank Emulator Gateway

0442PHP

Since Jun 18Pushed 11y ago3 watchersCompare

[ Source](https://github.com/fintech-fab/bank-emulator-sdk)[ Packagist](https://packagist.org/packages/fintech-fab/bank-emulator-sdk)[ RSS](/packages/fintech-fab-bank-emulator-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Bank Emulator SDK
=================

[](#bank-emulator-sdk)

SDK for Bank Emulator ()

- Documentation:
- Public demo:

Requirements
============

[](#requirements)

- php &gt;=5.3.0
- php5-curl

Installation (composer)
=======================

[](#installation-composer)

```
{
    "require": {
        "fintech-fab/bank-emulator-sdk": "dev-master",
    },
}

```

Simple usage
============

[](#simple-usage)

```
use FintechFab\BankEmulatorSdk\Config;
use FintechFab\BankEmulatorSdk\Gateway;
use FintechFab\BankEmulatorSdk\OnlineFormWidget;

$config = array(
	'terminalId'    => 'your-terminal-id',
	'secretKey'     => 'your-terminal-secret-key',
	'gatewayUrl'    => 'url-to-gateway',
	'callbackEmail' => 'your-email-for-callback-info',
	'shopUrl'       => 'url-to-your-shop',
	'callbackUrl'   => 'url-to-your-shop-callback',
	'currency'      => 'RUB',
	'strongSSL'     => false,
);

Config::setAll($config);

// Start with payment 'auth'

$gatewayAuth = Gateway::newInstance();

$params = array(
	'orderId'      => '123456',
	'orderName'    => 'Order from My Example',
	'orderDesc'    => '',
	'orderAmount'  => '123.45',
	'cardNumber'   => '4532274626451231',
	'expiredYear'  => '15',
	'expiredMonth' => '12',
	'cvcCode'      => '333',
);

$successAuth = $gatewayAuth->auth($params);

if($successAuth){

	// processing your payment operation and 'complete' sale

	$gatewayComplete = Gateway::newInstance();
	$params = array(
		'orderId'     => $gatewayAuth->getResultOrderId(),
		'orderAmount' => $gatewayAuth->getResultAmount(),
		'rrn'         => $gatewayAuth->getResultRRN(),
		'irn'         => $gatewayAuth->getResultIRN(),
	);
	$successComplete = $gatewayComplete->complete($params);

	if($successComplete){

		// Cancellation process your payment 'refund'

		$gatewayRefund = Gateway::newInstance();
		$successRefund = $gatewayRefund->refund($params);
	}

}

// Render HTML for e-commerce payment button

OnlineFormWidget::render(123456, 123.45);
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/601a6a56d27330ed7b74993812e607508a3bc691f60dc998d3d60e56fefd013a?d=identicon)[mikanoz](/maintainers/mikanoz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/fintech-fab-bank-emulator-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/fintech-fab-bank-emulator-sdk/health.svg)](https://phpackages.com/packages/fintech-fab-bank-emulator-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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