2017 © Pedro Peláez
 

library fiat

Definitions and implementations of fiat currencies in Openclerk

image

openclerk/fiat

Definitions and implementations of fiat currencies in Openclerk

  • Monday, September 11, 2017
  • by soundasleep
  • Repository
  • 1 Watchers
  • 0 Stars
  • 125 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

openclerk/fiat Build Status

A library for describing fiat currencies, used by Openclerk and live on CryptFolio., (*1)

This extends on the abstract currency definitions provided by openclerk/currencies., (*2)

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., (*3)

Installing

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

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

Using

Get the name for a given currency:, (*5)

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

Donations are appreciated., (*6)

Contributing

Pull requests that contribute new currencies are welcome., (*7)

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

The Versions

11/09 2017

dev-master

9999999-dev

Definitions and implementations of fiat currencies in Openclerk

  Sources   Download

The Requires

 

The Development Requires

11/09 2017

0.1.0

0.1.0.0

Definitions and implementations of fiat currencies in Openclerk

  Sources   Download

The Requires

 

The Development Requires