PHPackages                             ben-gibson/bryn - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ben-gibson/bryn

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ben-gibson/bryn
===============

A PHP library for calculating monetary conversions. This repository contains the interfaces and domain models only.

v0.0.4(9y ago)2383MITPHPPHP ~7.0

Since Apr 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ben-gibson/bryn)[ Packagist](https://packagist.org/packages/ben-gibson/bryn)[ Docs](https://github.com/ben-gibson/bryn)[ RSS](/packages/ben-gibson-bryn/feed)WikiDiscussions master Synced 1mo ago

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

Bryn
====

[](#bryn)

[![Latest Version on Packagist](https://camo.githubusercontent.com/22b948cb06a1052d8e54626fd418cba70588f03227ccc765bd3ac54266e39782/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62656e2d676962736f6e2f6272796e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ben-gibson/bryn)[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/a1d744ce440fc7020a8ad3cc004ab185bdf1c28a1629b3f99bd465ea871bebd9/68747470733a2f2f7472617669732d63692e6f72672f62656e2d676962736f6e2f6272796e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ben-gibson/bryn)[![Total Downloads](https://camo.githubusercontent.com/d19451158cda3517c78fcc30bd9788702690000eae251e231783f3174d89a3be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62656e2d676962736f6e2f6272796e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ben-gibson/bryn)

A `PHP` library acting as an abstraction layer for calculating monetary conversions. This repository contains the interfaces and domain models only.

Demo
----

[](#demo)

See a demo application using Bryn at .

Install
-------

[](#install)

Use composer to install this library.

```
$ composer require ben-gibson/bryn
```

Usage
-----

[](#usage)

An exchange rate calculator needs to be installed alongside this library like the ones below.

SourceLinkThe European Central BankYahoo's YQL Finance APITo increase reliability the [bryn-fallback-calculator](https://github.com/ben-gibson/bryn-fallback-calculator) can be used by registering multiple calculators in priority order.

Caching
-------

[](#caching)

TODO

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ben Gibson](https://github.com/ben-gibson)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

3317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e167685d994835d44910238ef0f2825d698abd912cfa919cccca087e3f81fd78?d=identicon)[ben-gibson](/maintainers/ben-gibson)

---

Top Contributors

[![ben-gibson](https://avatars.githubusercontent.com/u/1383604?v=4)](https://github.com/ben-gibson "ben-gibson (11 commits)")

---

Tags

currencyexchange-ratesmonetaryphpphp7currencyconversionRateexchange

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ben-gibson-bryn/health.svg)

```
[![Health](https://phpackages.com/badges/ben-gibson-bryn/health.svg)](https://phpackages.com/packages/ben-gibson-bryn)
```

###  Alternatives

[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/swap-bundle

Integrates the Swap library with Symfony

62416.1k1](/packages/florianv-swap-bundle)[danielme85/laravel-cconverter

Laravel 5 plug-in for currency conversion

42101.1k](/packages/danielme85-laravel-cconverter)

PHPackages © 2026

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