ben-gibson / bryn
A PHP library for calculating monetary conversions. This repository contains the interfaces and domain models only.
Requires
- php: ~7.0
Requires (Dev)
- phpunit/phpunit: ~6.0
- squizlabs/php_codesniffer: ~2.3
This package is not auto-updated.
Last update: 2024-11-10 02:40:01 UTC
README
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.
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.