PHPackages                             sergeynezbritskiy/privatbank-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. [API Development](/categories/api)
4. /
5. sergeynezbritskiy/privatbank-api

ActiveLibrary[API Development](/categories/api)

sergeynezbritskiy/privatbank-api
================================

Library for connecting to PrivatBank API

v3.0.0(6y ago)113.4k↓50%9[2 PRs](https://github.com/sergeynezbritskiy/privatbank-api/pulls)MITPHPPHP ~7.1.0|~7.2.0|~7.3.0CI failing

Since Mar 17Pushed 5y ago3 watchersCompare

[ Source](https://github.com/sergeynezbritskiy/privatbank-api)[ Packagist](https://packagist.org/packages/sergeynezbritskiy/privatbank-api)[ RSS](/packages/sergeynezbritskiy-privatbank-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (7)Used By (0)

PrivatBank API
==============

[](#privatbank-api)

Library for connecting your PHP application with PrivatBank API

[![Build Status](https://camo.githubusercontent.com/3543820f0c2f13bbf406fd5ec65581eb259f9c55f7b93438811c9cf20581db53/68747470733a2f2f7472617669732d63692e6f72672f7365726765796e657a62726974736b69792f70726976617462616e6b2d6170692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sergeynezbritskiy/privatbank-api)[![Latest Stable Version](https://camo.githubusercontent.com/5743ccbd887c30c1df421b9999d2b853a48656f52d98e282ce16c2b1642b505d/68747470733a2f2f706f7365722e707567782e6f72672f7365726765796e657a62726974736b69792f70726976617462616e6b2d6170692f762f737461626c65)](https://packagist.org/packages/sergeynezbritskiy/privatbank-api)[![Total Downloads](https://camo.githubusercontent.com/435712fa6983710c036c35aeb73b45e14459ee94a5a06e41bcbb3524e7b9b1b6/68747470733a2f2f706f7365722e707567782e6f72672f7365726765796e657a62726974736b69792f70726976617462616e6b2d6170692f646f776e6c6f616473)](https://packagist.org/packages/sergeynezbritskiy/privatbank-api)[![Latest Unstable Version](https://camo.githubusercontent.com/16fd93882d7ce64be0240bd8b8c0d28a6381ec0a6ccf8b5b67566478460d9c9b/68747470733a2f2f706f7365722e707567782e6f72672f7365726765796e657a62726974736b69792f70726976617462616e6b2d6170692f762f756e737461626c65)](https://packagist.org/packages/sergeynezbritskiy/privatbank-api)[![License](https://camo.githubusercontent.com/9e7ab78b710f700fd09a470aafd2d46d697b4bb22314da9b2edabe3a831cae5d/68747470733a2f2f706f7365722e707567782e6f72672f7365726765796e657a62726974736b69792f70726976617462616e6b2d6170692f6c6963656e7365)](https://packagist.org/packages/sergeynezbritskiy/privatbank-api)

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

[](#installation)

The easiest way to install module is using Composer

```
composer require sergeynezbritskiy/privatbank-api:"^3.0"

```

Notes
-----

[](#notes)

For more details please visit \[\]

Simple usage
------------

[](#simple-usage)

Using library is as easy as possible

```
//create public client for connecting with API
$client = new \SergeyNezbritskiy\PrivatBank\PublicClient();
//run the request
$result = $client->infrastructure(\SergeyNezbritskiy\PrivatBank\Request\InfrastructureRequest::TYPE_ATM, 'Днепр');

//create authorized client for connecting with API
$client = new \SergeyNezbritskiy\PrivatBank\AuthorizedClient();
//create merchant
$merchant = new \SergeyNezbritskiy\PrivatBank\Merchant('', '');
$client->setMerchant($merchant);
//run the request
$result = $client->balance('4111111111111111');
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 98.5% 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 ~208 days

Total

4

Last Release

2360d ago

Major Versions

v1.0.1 → v2.0.02018-12-08

v2.0.0 → v3.0.02019-12-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c119fcbb8c23d87df8de13605e93188a14663680d0455aa5f64fc89b93a932c?d=identicon)[sergeynezbritskiy](/maintainers/sergeynezbritskiy)

---

Top Contributors

[![sergeynezbritskiy](https://avatars.githubusercontent.com/u/8030069?v=4)](https://github.com/sergeynezbritskiy "sergeynezbritskiy (131 commits)")[![Spell6inder](https://avatars.githubusercontent.com/u/2795910?v=4)](https://github.com/Spell6inder "Spell6inder (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sergeynezbritskiy-privatbank-api/health.svg)

```
[![Health](https://phpackages.com/badges/sergeynezbritskiy-privatbank-api/health.svg)](https://phpackages.com/packages/sergeynezbritskiy-privatbank-api)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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