PHP Classes

PHP Currency Converter via Google Finance: Convert money value between currencies with Google

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 162 All time: 8,916 This week: 196Up
Version License PHP version Categories
currencyconvertnoapi 1.0.0GNU General Publi...5PHP 5, Web services, Finances, Parsers


This class can convert money value between currencies with Google.

It can send an HTTP request to retrieve Google pages that present results of converting a money amount between two given the 3 letter codes of the desired currencies.

The class can parse the retrieved page and presents returned the converted amount value.

It does not use any API, so no API keys are necessary

Picture of Ciaran Moore
  Performance   Level  
Name: Ciaran Moore <contact>
Classes: 5 packages by
Country: United Kingdom
Age: 38
All time rank: 2221103 in United Kingdom
Week rank: 332 Up16 in United Kingdom Up
Innovation award
Innovation award
Nominee: 1x




$cc = new CurrencyConverter();

$cc->convert(1,'EUR', 'NGN') . "\n";




Simple Currency Conversion Class

Designed for a quick and easy way of converting one currency to another, without 3rd party API's and bloated responses.




	$cc =  new CurrencyConverter();

	echo $cc->convert(1,'EUR', 'NGN') . "\n";

  Files folder image Files  
File Role Description
Plain text file CurrencyConverter.php Class Class source
Plain text file index.php Example Example script
Plain text file LICENSE Lic. License text
Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,916
This week:196Up