https://github.com/ben-gibson/bryn
A PHP library for calculating monetary conversions.
https://github.com/ben-gibson/bryn
currency exchange-rates monetary php php7
Last synced: 3 months ago
JSON representation
A PHP library for calculating monetary conversions.
- Host: GitHub
- URL: https://github.com/ben-gibson/bryn
- Owner: ben-gibson
- Created: 2017-03-22T21:10:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-09T15:23:32.000Z (about 8 years ago)
- Last Synced: 2024-05-27T12:33:23.397Z (about 1 year ago)
- Topics: currency, exchange-rates, monetary, php, php7
- Language: PHP
- Size: 28.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Bryn
[![Latest Version on Packagist][ico-version]][link-packagist]
[![Software License][ico-license]](LICENSE.md)
[](https://travis-ci.org/ben-gibson/bryn)
[![Total Downloads][ico-downloads]][link-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.
``` bash
$ 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](https://github.com/ben-gibson/bryn-fallback-calculator) can be used by registering multiple calculators in priority order.
## Caching
TODO
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
``` bash
$ composer test
```## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
## Credits
- [Ben Gibson][link-author]
- [All Contributors][link-contributors]## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
[ico-version]: https://img.shields.io/packagist/v/ben-gibson/bryn.svg?style=flat-square
[ico-downloads]: https://img.shields.io/packagist/dt/ben-gibson/bryn.svg?style=flat-square
[link-packagist]: https://packagist.org/packages/ben-gibson/bryn
[link-downloads]: https://packagist.org/packages/ben-gibson/bryn
[ico-license]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square
[link-author]: https://github.com/ben-gibson
[link-contributors]: ../../contributors