承接 openclerk/fiat 相关项目开发

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

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

openclerk/fiat

最新稳定版本:0.1.0

Composer 安装命令:

composer require openclerk/fiat

包简介

Definitions and implementations of fiat currencies in Openclerk

README 文档

README

A library for describing fiat currencies, used by Openclerk and live on CryptFolio.

This extends on the abstract currency definitions provided by openclerk/currencies.

Because fiat currencies are not digitally connected, we can't do interesting things with them like we can with cryptocurrencies; this component only describes fiat currencies with their three-character codes.

Installing

Include openclerk/fiat as a requirement in your project composer.json, and run composer update to install it into your project:

{
  "require": {
    "openclerk/fiat": "dev-master"
  }
}

Using

Get the name for a given currency:

$currency = new \Fiat\PolishZloty();
echo $currency->getName();   // returns "Polish złoty"
echo $currency->getURL();    // returns "http://en.wikipedia.org/wiki/Polish_z%C5%82oty"

Donate

Donations are appreciated.

Contributing

Pull requests that contribute new currencies are welcome.

TODO

  1. Should fiat currencies have assets?
  2. Generate README list of currencies/services automatically
  3. Link to live APIs on CryptFolio
  4. CI build server and link to test results

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-01-16