bartfeenstra/currency
Composer 安装命令:
composer require bartfeenstra/currency
包简介
README 文档
README
Introduction
A language-independent library that provides metadata for current and historic currencies:
- ISO 4217 currency codes and numbers
- Currency signs
- 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
- Currency information is stored in YAML files in
/resources. - PHP helpers:
\BartFeenstra\Currency\Currencyis a basic class that serves as a container and a controller for working with the YAML resources.\BartFeenstra\Curency\Inputcontains a parser for user input.
Requirements
The library does not have any global requirements.
Testing
- PHPUnit 3.7.*
Resources
- Any YAML parser.
PHP
- PHP 5.3.x or higher
- Symfony YAML 2.1.*
Integrates with
- Composer (as bartfeenstra/currency)
- Drupal (through Currency)
统计信息
- 总下载量: 618
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-12-05