A PHP
library acting as an abstraction layer for calculating monetary conversions. This repository contains the interfaces and domain models only.
See a demo application using Bryn at https://bryn-demo.herokuapp.com/.
Use composer to install this library.
$ composer require ben-gibson/bryn
An exchange rate calculator needs to be installed alongside this library like the ones below.
Source | Link |
---|---|
The European Central Bank | https://github.com/ben-gibson/bryn-european-central-bank-calculator |
Yahoo's YQL Finance API | https://github.com/ben-gibson/bryn-yahoo-calculator |
To increase reliability the bryn-fallback-calculator can be used by registering multiple calculators in priority order.
TODO
Please see CHANGELOG for more information what has changed recently.
$ composer test
Please see CONTRIBUTING for details.
If you discover any security related issues, please email ben.gibson.2011@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.