2017 © Pedro Peláez
 

library country-currency-converter

image

nexuslinkservices/country-currency-converter

  • Friday, March 24, 2017
  • by nexuslinkservices
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Country Currency Converter

Convert country currency by currency code., (*1)

Latest Version Software License Scrutinizer Code Quality Build Status, (*2)

Installation

If you use composer, you can add this package by running, (*3)

composer require galiteintechnologies/country-currency-converter

Usage

<?php

use CountryCurrencyConverter\CurrencyConverter;

$currencyConverter = new CurrencyConverter();

$result = $currencyConverter->convertCurrency('USD', 'INR', 1); 
echo $result.'<br/>';

$result = $currencyConverter->convertCurrency('USD', 'INR', 1, false);
echo $result.'<br/>';

$result = $currencyConverter->convertCurrency('USD', 'INR', 1, false, false);
echo $result;

Output

66.59 ₹ //With round value and currency symbol
66.5922 ₹ //without round value
66.5922 // without round value and currency symbol

CONTRIBUTING:

Pull requests are always welcome., (*4)

The Versions

24/03 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.6.2

 

The Development Requires

by Nexuslink Services

07/10 2016

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

  • php >=5.6.2

 

The Development Requires

by Nexuslink Services