fjescala/centralbank 问题修复 & 功能扩展

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

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

fjescala/centralbank

Composer 安装命令:

composer require fjescala/centralbank

包简介

package to extract the price of the different currencies by the central bank

README 文档

README

package to extract the price of the different currencies by the central bank of Venezuela

Installation

composer require fjescala/centralbank

Uso

Here is a little example:

use Fjescala\CentralBank\CentralBankManager as CentralBank; // at the top of the file

  public function __construct(CentralBank $central)
    {
        $this->central = $central;

 
    }

      public function index()
    {
        $amountInBolivares = $this->central->getCurrency("dolar");
        $amountInBolivares = $this->central->getCurrency("rublo");
        $amountInBolivares = $this->central->getCurrency("lira");
        $amountInBolivares = $this->central->getCurrency("yuan");
        $amountInBolivares = $this->central->getCurrency("euro");
       

      
    }
  

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-18