Skip to content

abdyfranco/banguat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Banguat Exchange Rate PHP Class

Provides an easy-to-use class for communicating with the exchange rate web service of Banco de Guatemala.

<?php

use Banguat\ExchangeRate;

$ExchangeRate = new ExchangeRate();

$amount = 100; // Amount in USD
$usd_rate = $ExchangeRate->getCurrencyExchangeRate('GTQ');

$total = $amount * $usd_rate->compra; // Amount in GTQ

Requirements

PHP 5.6+. Other than that, this library has no external requirements.

Installation

You can install this library via Composer.

$ composer require abdyfranco/banguat

License

The MIT License (MIT). Please see "LICENSE.md" File for more information.

About

Provides an easy-to-use class for communicating with the exchange rate web service of Banco de Guatemala.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages