PHP Classes

CurrencyExchange: Convert values between currencies using a XML feed

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-10-18 (9 years ago) RSS 2.0 feedStarStarStar 59%Total: 1,720 This week: 1All time: 2,157 This week: 1,194Up
Version License Categories  
currencyexchange 1.0GNU General Publi...PHP 5, Web services, Conversion, Fina...
Description Author  

This class can be used to convert money amounts between two currencies using the European Central bank currencies XML feed.

It has methods to set the original and the converted currencies.

It may either return the conversion rate or the converted value of a given amount.

It can cache a previously retrieved version of the currencies feed to minimize the overhead of fetching the feed repeatedly.

Picture of Mick Sear
Name: Mick Sear is available for providing paid consulting. Contact Mick Sear .
Classes: 8 packages by
Country: United Kingdom United Kingdom
Age: 42
All time rank: 362 in United Kingdom United Kingdom
Week rank: 86 Down3 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  • screengrab.gif
  Files folder image Files  
File Role Description
Plain text file CurrencyConverter.php Class Main class file
Plain text file example.php Example Simple example to get rate
Plain text file example2.php Example More complex example to convert an amount to another currency

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,720All time:2,157
 This week:1This week:1,194Up
User Ratings User Comments (1)  
 All time
6 years ago (kishore kumar)