PHPackages                             diynyk/nbu-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. diynyk/nbu-sdk

ActiveLibrary[API Development](/categories/api)

diynyk/nbu-sdk
==============

1.0.1(5y ago)018[1 PRs](https://github.com/diynyk/lib-php-nbu-sdk/pulls)MITPHP

Since Mar 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/diynyk/lib-php-nbu-sdk)[ Packagist](https://packagist.org/packages/diynyk/nbu-sdk)[ RSS](/packages/diynyk-nbu-sdk/feed)WikiDiscussions main Synced today

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

NBU PHP SDK
===========

[](#nbu-php-sdk)

Stats
-----

[](#stats)

[![GitHub repo size](https://camo.githubusercontent.com/80c0a4caecc136b22c1af0ae87619d20719a8b26f273f6b724aa39880757bbf6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6469796e796b2f6c69622d7068702d6e62752d73646b)](https://camo.githubusercontent.com/80c0a4caecc136b22c1af0ae87619d20719a8b26f273f6b724aa39880757bbf6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6469796e796b2f6c69622d7068702d6e62752d73646b)[![Build Status](https://camo.githubusercontent.com/96f37b938089a6dd860e1b859593563c231fc37c64cc81ec567e6d15d370be35/68747470733a2f2f7472617669732d63692e636f6d2f6469796e796b2f6c69622d7068702d6e62752d73646b2e7376673f6272616e63683d6d61696e)](https://travis-ci.com/diynyk/lib-php-nbu-sdk)[![codecov](https://camo.githubusercontent.com/4c0bd44335f3d607b982bbc48523d36a817e44ccc8bf9205fc662308e018d84a/68747470733a2f2f636f6465636f762e696f2f67682f6469796e796b2f6c69622d7068702d6e62752d73646b2f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/diynyk/lib-php-nbu-sdk)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![Packagist Version](https://camo.githubusercontent.com/374bf6f8ee1691f3b327c5476f4cc0e4eb31cf97e4c99a85aa2b9285fece1f17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469796e796b2f6e62752d73646b)](https://camo.githubusercontent.com/374bf6f8ee1691f3b327c5476f4cc0e4eb31cf97e4c99a85aa2b9285fece1f17/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6469796e796b2f6e62752d73646b)

[![Quality Gate Status](https://camo.githubusercontent.com/db0fc99f22a944c013d15ab6ea01f10daff9bf3cb5d775fb48aae020a6e6dfc8/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6469796e796b5f6c69622d7068702d6e62752d73646b266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=diynyk_lib-php-nbu-sdk)[![Packagist Downloads](https://camo.githubusercontent.com/4657a80c858f7c1d7c6de7bd9df8a9e8bb17539a63687278cb4871c661e92ab1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469796e796b2f6e62752d73646b)](https://camo.githubusercontent.com/4657a80c858f7c1d7c6de7bd9df8a9e8bb17539a63687278cb4871c661e92ab1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6469796e796b2f6e62752d73646b)[![Libraries.io dependency status for latest release](https://camo.githubusercontent.com/ce2c3a83ed42cafe3d9dcac6ed834f09587ca79081a49a35f68c2ccc2c9ee653/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6769746875622f6469796e796b2f6c69622d7068702d6e62752d73646b)](https://camo.githubusercontent.com/ce2c3a83ed42cafe3d9dcac6ed834f09587ca79081a49a35f68c2ccc2c9ee653/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6769746875622f6469796e796b2f6c69622d7068702d6e62752d73646b)

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

[](#installation)

```
$ composer require diynyk/nbu-sdk
```

Usage
-----

[](#usage)

```
$logger = new Psr\Log\NullLogger;

$client = new GuzzleHttp\Client;

$nbuClient = new Diynyk\Nbu\Client($logger, $client);

$rates = $nbuClient->getRates(new DateTime('now'));

echo $rates['USD'];
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.7% 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 ~0 days

Total

2

Last Release

1873d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/272a4ca956de167e4336eab5c7906972249e2eab264afa09657db5ac1c7f56e3?d=identicon)[diynyk](/maintainers/diynyk)

---

Top Contributors

[![paveldhq](https://avatars.githubusercontent.com/u/6585212?v=4)](https://github.com/paveldhq "paveldhq (32 commits)")[![YuliiRunikov](https://avatars.githubusercontent.com/u/60647846?v=4)](https://github.com/YuliiRunikov "YuliiRunikov (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/diynyk-nbu-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/diynyk-nbu-sdk/health.svg)](https://phpackages.com/packages/diynyk-nbu-sdk)
```

###  Alternatives

[googleads/googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP

67410.3M25](/packages/googleads-googleads-php-lib)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

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

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)

PHPackages © 2026

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