jevgenijus/currency-exchange-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

jevgenijus/currency-exchange-bundle

Composer 安装命令:

composer require jevgenijus/currency-exchange-bundle

包简介

Determine which bank provides best exchange rate

README 文档

README

Query different banks for specific currency pair exchange rate. Determine which bank provides best exchange rate.

Installation

Step 1: Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ composer require jevgenijus/currency-exchange-bundle

Step 2: Enable the Bundle

Register bundles in app/AppKernel.php:

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        return [
            // ...
            new Jev\CurrencyExchangeBundle\JevCurrencyExchangeBundle(),   
        ];
    }

    // ...
}

Step 3: Configure the Bundle

Configure the currencies you need in config.yml file.

# app/config/config.yml
jev_currency_exchange:
    base_currencies: ["EUR", "GBP"]
    foreign_currencies: ["AUD", "BGN", "CAD", "CHF", "CNY", "CZK", "DKK", "HKD", "HRK", "HUF", "IDR", "ILS", "INR" ]

Usage

Command currency:rates which shows a table of exchange rates for a given currency pair.

$ app/console currency:rates

Command currency:rate:best gives the best exchange rate for a given currency pair.

$ app/console currency:rate:best

License

This package is licensed under the MIT license. For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固