承接 joan-ramirez/currency 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

joan-ramirez/currency

Composer 安装命令:

composer require joan-ramirez/currency

包简介

Package to see the value of one currency compared to another

README 文档

README

Library to see the value of a currency in comparison with another, it accepts the change of all the currencies in the world.

Installation

Add joan-ramirez/currency as a require dependency in your composer.json file:

composer require joan-ramirez/currency

Usage

Create a currency instance

use JoanRamirez/Currency/Currency;

$currency = new Currency();

Get USD value converted to EUR change()->get() methods

$currency->change('USD', 'EUR')->get();

Get the value of $100 USD converted to EUR with the amount() method

$currency->change('USD', 'EUR')->amount(100)->get();

License

Currency is licensed under the MIT license.

统计信息

  • 总下载量: 1
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-15