opqclick/currency-converter
最新稳定版本:1.0.1
Composer 安装命令:
composer require opqclick/currency-converter
包简介
The task is to create a Laravel package, this packagewill expose an API GET endpoint that will receive thefollowing params:● amount● currency to exchangeYou can assume the default currency is Euro.This endpoint should return the exchange rate for thegiven amount in the same standard format as theoth
README 文档
README
composer require opqclick/currency-converter
By default, Composer pulls in packages from Packagist. So you’ll have to make a slight adjustment to your new project composer.json file. Open the file and update include the following array somewhere in the object:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fhsinchy/inspire"
}
]
Add the service provider in {config/app.php} providers array
Opqclick\CurrencyConverter\Providers\CurrencyConverterServiceProvider::class
endpoints
The package containing 1 endpoints
- {base_url}/{amount}{required}/{currency}{required}
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-09-27