PHPackages                             bariew/tranzila - 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. bariew/tranzila

ActiveApi[API Development](/categories/api)

bariew/tranzila
===============

Tranzila API

00PHP

Since Aug 28Pushed 10mo agoCompare

[ Source](https://github.com/bariew/tranzila)[ Packagist](https://packagist.org/packages/bariew/tranzila)[ RSS](/packages/bariew-tranzila/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

### Tranzila API client.

[](#tranzila-api-client)

Description
-----------

[](#description)

Processes payments via Israeli company Tranzila

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist bariew/tranzila

```

or add

```
"bariew/tranzila": "dev-master"

```

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

Usage
-----

[](#usage)

```
$tranzila = Api::instance($key, $secret, $terminalName);
// get all payments details by email
$emailPayments = $tranzila->get(['client_email' => 'user@email.com']);
// get payment details by id
$payment = $tranzila->getSto(4111);
// deactivate a requrring payment
$tranzila->activate(4111, false);
// uprade an existing payment with a new price
$tranzila->upgrade(4111, 1000);
// create a new requrring payment
$response = $tranzila->create([
    'sto_payments_number' => 9999,
    'charge_frequency' => 'monthly',
    'first_charge_date' => '2025-01-31',
    'charge_dom' => 28, // charge day
    'client' => $payment['client'],
    'item' => array_merge($payment['item'], [
        'unit_price' => 100,
//              'code' => 'AA-1246-111-B',
//              'name' => 'My Product Name',
    ], [
        'units_number' => (int) $payment['item']['units_number'],
        'vat_percent' => (int) $payment['item']['vat_percent'],
    ]),
    'card' => array_merge($payment['card'], [
        'expire_month' => (int) $payment['card']['expire_month'],
        'expire_year' => 2000 + (int) $payment['card']['expire_year'],
    ]),
    'response_language' => 'english',
    //   'msv' => ['bank_code' => 12, 'branch_code' => '659', 'account_number' => '127963',],
    // 'created_by_user' => 'Pavel',
]);

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

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/8214f36975034f4134506744cd956e8415491006c1b3512af22bf75f91165f06?d=identicon)[bariew](/maintainers/bariew)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/bariew-tranzila/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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