ossbrownie/exchange-rate

Allows you to receive current exchange rates from various sources and convert them.

0.0.1 2019-04-14 13:43 UTC

This package is auto-updated.

Last update: 2024-11-15 02:34:14 UTC


README

License Latest Stable Version Latest Unstable Version Total Downloads

Scrutinizer Code Quality Code Coverage Code Intelligence Status Build Status

PHP Version

Allows you to receive current exchange rates from various sources and convert them.

Requirements

  • PHP = >= 7.0
  • EXT-CURL = *
  • EXT-SIMPLEXML = *
  • EXT-LIBXML = *
  • ossbrownie/http-client = 0.0.7

For more information about the extensions see:

curl - https://www.php.net/curl

libxml - https://www.php.net/libxml

simplexml - https://www.php.net/simplexml

Installation

Add a line to your "require" section in your composer configuration:

{
    "require": {
        "ossbrownie/exchange-rate": "0.0.1"
    }
}

Documentation

Tests

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

$> composer.phar install
$> ./vendor/bin/phpunit --bootstrap ./tests/bootstrap.php ./tests

License

ExchangeRate is licensed under the MIT License

Contact

Problems, comments, and suggestions all welcome: oss.brownie@gmail.com