PHPackages                             masmaleki/nbg-currency - 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. masmaleki/nbg-currency

ActiveLibrary

masmaleki/nbg-currency
======================

National Bank of Georgia (NBG) currency service API wrapper

3.1.1(4y ago)012MITPHPPHP &gt;=7.1.8

Since Jan 3Pushed 4y agoCompare

[ Source](https://github.com/masmaleki/nbg-currency)[ Packagist](https://packagist.org/packages/masmaleki/nbg-currency)[ Docs](http://github.com/Masmaleki/nbg-currency)[ RSS](/packages/masmaleki-nbg-currency/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (18)Used By (0)

NBG Currency
============

[](#nbg-currency)

[![Build Status](https://camo.githubusercontent.com/d78fe414796bfe6a72bbaabd2ea0ed303eedc63f7ce8ae12a2c8275757a85843/68747470733a2f2f7472617669732d63692e6f72672f4d61736d616c656b692f6e62672d63757272656e63792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Masmaleki/nbg-currency) [![Latest Stable Version](https://camo.githubusercontent.com/bfd47cef8b0f582cda3ce1b07237557fee8b5b363d1dc3b4386ffe6f973b5066/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4d61736d616c656b692f6e62672d63757272656e63792e737667)](https://packagist.org/packages/masmaleki/nbg-currency) [![Total Downloads](https://camo.githubusercontent.com/36c95c82af5b6da50f1c4c98e7ebd496b1b223d02892b47921437b42e88b8c30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4d61736d616c656b692f6e62672d63757272656e63792e737667)](https://packagist.org/packages/masmaleki/nbg-currency)

National Bank of Georgia (NBG) currency service API wrapper in PHP with new wsdl service

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

[](#installation)

Install this package via [Composer](https://getcomposer.org/).

```
composer require masmaleki/nbg-currency

```

> Note: **PHP 7.1.8 or later** is required. For older versions, use `^1.2` version of this package.

Usage
-----

[](#usage)

The class is namespaced as `Masmaleki\NbgCurrency\NbgCurrency`, so use it like

```
use Masmaleki\NbgCurrency\NbgCurrency;
```

This package is very easy to use and has a few methods. **Keep in mind that method names are not same as NBG's SOAP service.** This package has more intuitive method names.

In addition, currencies are **not** case-sensitive here.

### Methods

[](#methods)

##### `rate($currency)`

[](#ratecurrency)

Get the currency rate.

```
$currencies = 'USD,EUR';
$result = NbgCurrency::rate($currencies);
 foreach($result->GetCurrentRatesResult->CurrencyRate as $rate) {

            echo " --------------------\n";
            echo "Quantity: " . $rate->Quantity . "\n";
            echo "Rate:     " . floatval($rate->Rate) . "\n";
            echo "Diff:     " . floatval($rate->Diff) . "\n";
            echo "Code:     " . $rate->Code . "\n";
            echo "Name:     " . $rate->Name . "\n";
            echo "Date:     " . $rate->Date . "\n";
            echo "ValidFrom:     " . $rate->ValidFromDate . "\n";
    }

```

##### `isSupported($currency)`

[](#issupportedcurrency)

Check if the currency is supported.

```
NbgCurrency::isSupported('usd'); // true
NbgCurrency::isSupported('lol'); // false
```

### Keywords

[](#keywords)

> ლარის კურსი, ეროვნული ბანკის გაცვლითი კურსი, ვალუტა, ლარის ვალუტის კურსი, laris kursi, laris valuta, lari currency, national bank of georgia, nbg

### Thank you

[](#thank-you)

> Thanks of Levan Velijanashvili Nbg-Currency Package "Stichoza/nbg-currency"

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 81.4% 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 ~127 days

Recently: every ~122 days

Total

17

Last Release

1745d ago

Major Versions

v0.1.0 → v1.0.02016-01-03

v1.2.3 → v2.0.02020-03-29

v2.0.1 → 3.0.12021-07-30

PHP version history (2 changes)v0.0.1PHP &gt;=5.5.9

v2.0.0PHP &gt;=7.1.8

### Community

Maintainers

![](https://www.gravatar.com/avatar/700c615243c927236af92c6ce4f857b0047639518570866f96b0ec9adca1a773?d=identicon)[masmaleki](/maintainers/masmaleki)

---

Top Contributors

[![Stichoza](https://avatars.githubusercontent.com/u/1139050?v=4)](https://github.com/Stichoza "Stichoza (35 commits)")[![masmaleki](https://avatars.githubusercontent.com/u/5430351?v=4)](https://github.com/masmaleki "masmaleki (8 commits)")

---

Tags

currencyBankRategeorgianbg

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/masmaleki-nbg-currency/health.svg)

```
[![Health](https://phpackages.com/badges/masmaleki-nbg-currency/health.svg)](https://phpackages.com/packages/masmaleki-nbg-currency)
```

###  Alternatives

[stichoza/nbg-currency

National Bank of Georgia (NBG) currency service API wrapper

2925.2k1](/packages/stichoza-nbg-currency)[florianv/swap

Exchange rates library for PHP

1.3k6.4M16](/packages/florianv-swap)[florianv/laravel-swap

Currency exchange rates library for Laravel and Lumen

3342.0M2](/packages/florianv-laravel-swap)[florianv/exchanger

Currency exchange rates framework for PHP

1874.7M15](/packages/florianv-exchanger)[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[florianv/swap-bundle

Integrates the Swap library with Symfony

62416.1k1](/packages/florianv-swap-bundle)

PHPackages © 2026

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