PHPackages                             ben-gibson/bryn-fallback-calculator - 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-fallback-calculator

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

ben-gibson/bryn-fallback-calculator
===================================

An exchange rate calculator that defers calculation to its registered calculators in priority order until an exchange rate is successfully returned.

v0.0.2(9y ago)020MITPHPPHP ~7.0

Since Apr 8Pushed 9y ago1 watchersCompare

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

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

Bryn - Fallback Calculator
==========================

[](#bryn---fallback-calculator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/d6bd4b6d3e0ff0bf97d8f6fca22018bf8d41c460707387530c506a7b77a3dff3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62656e2d676962736f6e2f6272796e2d66616c6c6261636b2d63616c63756c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ben-gibson/bryn-fallback-calculator)[![Software License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/998b48a51237f453b9026d232c4a4a8171880589a262f5bdc5758be692a75737/68747470733a2f2f7472617669732d63692e6f72672f62656e2d676962736f6e2f6272796e2d66616c6c6261636b2d63616c63756c61746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ben-gibson/bryn-fallback-calculator)[![Total Downloads](https://camo.githubusercontent.com/aee23578bdb8f6f534b193822b5ff4cc4b1d6b9ac1cfe4ac2b36d0a15ae2546e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62656e2d676962736f6e2f6272796e2d66616c6c6261636b2d63616c63756c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ben-gibson/bryn-fallback-calculator)

A fallback calculator for [Bryn](https://github.com/ben-gibson/bryn) that defers to registered calculators in priority order until an exchange rate is returned or they all fail.

Install
-------

[](#install)

Use composer to install this library.

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

Usage
-----

[](#usage)

```
