commercie/currency

1.1.2 2018-05-11 10:11 UTC

README

Introduction

A library that provides metadata for current and historic currencies:

  • ISO 4217 currency codes and numbers
  • Currency signs, both official and unofficial
  • The number of decimals a currency has
  • Where (ISO 3166 country codes) and when (ISO 8601 dates) currencies were and are used
  • Fixed exchange rates (usually historic)

Usage

  • Currencies can be loaded through \Commercie\Currency\ResourceRepository.
  • \Commercie\Currency\InputInterface is capable of parsing user-input numbers.