2017 © Pedro Peláez
 

library currency-php-yahoo-rate-fetcher

An extension to fetch exchange rates from the Yahoo API.

image

tomwright/currency-php-yahoo-rate-fetcher

An extension to fetch exchange rates from the Yahoo API.

  • Thursday, April 13, 2017
  • by TomWright
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

CurrencyPHP Yahoo Rate Fetcher

Build Status Latest Stable Version Total Downloads Monthly Downloads Daily Downloads License, (*1)

Installation

Install CurrencyPHP., (*2)

composer require tomwright/currency-php
composer require tomwright/currency-php-yahoo-rate-fetcher

Usage

YahooRateFetcher is just a RateFetcher for CurrencyPHP., (*3)


$rateFetcher = new YahooRateFetcher(); $gbp = new Currency('GBP', $rateFetcher); $usd = new Currency('USD', $rateFetcher); $priceInGBP = 100; $priceInUSD = $gbp->convertTo($usd, $priceInGBP); echo $priceInUSD; // 126

The Versions

13/04 2017

dev-master

9999999-dev

An extension to fetch exchange rates from the Yahoo API.

  Sources   Download

The Requires

 

13/04 2017

1.0.0

1.0.0.0

An extension to fetch exchange rates from the Yahoo API.

  Sources   Download

The Requires