Login   Register  
PHP Classes

CurrencyExchange: Convert values between currencies using a XML feed

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Mick Sear
Name: Mick Sear is available for providing paid consulting. Contact Mick Sear .
Packages: 8 Browse all classes by Mick Sear Browse all classes by
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Age: 40
All time rank: 392 in United Kingdom United Kingdom
Week rank: 102 Down4 in United Kingdom United Kingdom Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Detailed description   Download Download .zip .tar.gz  
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.

  Classes of Mick Sear  >  CurrencyExchange  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: CurrencyExchange
Base name: currencyexchange
Description: Convert values between currencies using a XML feed
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1695 users
All time rank: 2113
Week users: 0 users
Week rank: 1804 Equal
  Groups   Screenshots Screenshots   Rate classes User ratings  
  Applications   Related links   Files Files  

Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Conversion Unit and datatype conversion View top rated classes
Group folder image Finances Money, exchanging, taxes and stocks View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file screengrab.gif Screen Screengrab

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (81.2%) Good (93.8%) - Good (93.8%) - - Not sure (59.4%) 927
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
European Central Bank European Central Bank website - source of XML feed used in this class.

  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

Download Download all files: currencyexchange.tar.gz currencyexchange.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.