alessandrominoccheri/currency-converter
Composer 安装命令:
composer create-project alessandrominoccheri/currency-converter
包简介
A library to convert your price from a currency to another
README 文档
README
Php library to convert a currency into another
Work in progress
How to install
To install this library you can use composer and launch it from your CLI:
composer require alessandrominoccheri/currency-converter
Usage
If you want to use this library you need to create a new instance of CurrencyConverter and after call the method convertlike this
You need also to pass an apikey generated from here:
$currencyConverter = new CurrencyConverter($yourApiKey);
$result = $currencyConverter->convert('EUR', 'USD', random_int(1, 999999));
Make
This project uses Makefile to run tasks.
-
make agile it create an overview of test case methods presented as full sentences
-
make test runs classic phpunit tests
-
make coverage create and open in browser code coverage
统计信息
- 总下载量: 68
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-19