Skip to content

A PHP library for calculating monetary conversions.

Notifications You must be signed in to change notification settings

ben-gibson/bryn

Repository files navigation

Bryn

Latest Version on Packagist Software License Build Status Total Downloads

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

Demo

See a demo application using Bryn at https://bryn-demo.herokuapp.com/.

Install

Use composer to install this library.

$ composer require ben-gibson/bryn

Usage

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.

Caching

TODO

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email ben.gibson.2011@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.