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

v0.0.4 2017-04-09 15:22 UTC

This package is not auto-updated.

Last update: 2024-04-13 23:41:20 UTC


README

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.