Home » Web Services » Services_ExchangeRates
Performs currency conversion
This package is unmaintained.
Download latest release 0.8.0 (archived versions might be outdated)
License: PHP License
Description
Extendable to work with any source that provides exchange rate data, this class downloads
exchange rates and the name of each currency (US Dollar, Euro, Maltese Lira, etc.) and
converts between any two of the available currencies (the actual number of currencies
supported depends on the exchange rate feed used).
Maintainers
- Marshall Roch (mroch) — lead, inactive
- Colin Ross (cross) — lead, inactive
Dependencies
Required
- PHP (>= 5.0.0)
- PEAR Installer (>= 1.9.0)
- HTTP_Request2
- Cache_Lite
- XML_Serializer (>= 0.20.0)
Releases
- 0.8.0 (beta, 2012-10-23)
Release notes
License: PHP License
QA release
Request #16628 Swap to XML_Serializer
Bug #17110 Unit tests broken, 64 bit
- 0.7.0 (beta, 2011-12-17)
Release notes
License: PHP License
QA release
Refactoring to use XML_Serializer, not XML_Tree.
Bug #16753 Currencies_UN.php links to broken URL
Require PHP5 - 0.6.0 (beta, 2009-01-17)
Release notes
License: PHP License
Major refactoring of class to allow for dependency injection, and decoupled code.
Added unit test coverage.
Added the ability to choose from either Cached HTTP, file_get_contents(), or simulated data fetching
Removed dead code - Countries_UN
Be aware: You'll have to update code which was using 0.5.X API! - 0.5.3 (beta, 2005-11-22)
- 0.5.0 (beta, 2004-02-22)
Release notes
License: PHP License
* Added National Bank of Israel driver (Thanks Simon Brüchner!)
* Everything seems pretty stable, so changed state to beta - 0.4.1 (alpha, 2003-09-13)
Release notes
License: PHP License
* Fixed documentation install path
- 0.4 (alpha, 2003-09-13)
Release notes
License: PHP License
* Changed package name from Services_Exchange to Services_ExchangeRates
* Implemented conditional GETs with HTTP_Request and Cache_Lite
* Improved file retrieval/caching methods in Common.php
* Allowed default settings to be overridden with $options parameter in the constructor
* Implemented PEAR error handling
* Added National Bank of Poland exchange rate driver
* Added dependency on HTTP_Request
* Added dependency on Cache_Lite
* Removed dependency on Cache
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #68 | Bogus | Bug | 2003-10-05 | Seeing whether maintainers get emailed (bug 40) | |
| #703 | Suspended | Bug | 2004-02-07 | Cache gets corrupted (?) after timeout | |
| #1983 | Duplicate | Bug | 2004-07-26 | Invalid argument supplied for foreach() | |
| #2177 | Closed | Bug | 2004-08-20 | Not obtaining ECB rates or UN Currencies correctly | |
| #3110 | Closed | Bug | 2005-01-05 | Undefine variables | |
| #3112 | Closed | Req | 2005-01-05 | Listing all rates | |
| #3627 | Closed | Bug | 2005-02-27 | CRITICAL: non-ISO-8859-1 characters in package.xml must be entitied | |
| #4627 | Assigned | Req | 2005-06-18 | End-User Documentation | |
| #4628 | Closed | Req | 2005-06-18 | Allow convert to NOT format results | |
| #4671 | Closed | Bug | 2005-06-23 | Recieve XML Error while installing whit PEAR | |
| #6087 | Closed | Bug | 2005-11-27 | XML_Tree Error with Services_ExchangeRates | |
| #6629 | Closed | Bug | 2006-01-30 | Currency Names not fetched when with XML_Tree-1.x.x | |
| #6724 | Duplicate | Bug | 0.5.3 | 2006-02-08 | Depending Class "XML_Tree" doesn't work with PHP > 5.0 |
| #11867 | Assigned | Req | 0.5.3 | 2007-08-19 | Improve tests for fetching from Cache |
| #14608 | Closed | Bug | 0.5.3 | 2008-09-06 | ECB URL has changed |
| #15058 | Closed | Bug | CVS | 2008-11-17 | Parse error in Services_ExchangeRates/ExchangeRates.php on line 164 |
| #15317 | Open | Req | CVS | 2008-12-16 | Unit test coverage for Services_ExchangeRates |
| #16628 | Closed | Req | 0.6.0 | 2009-09-21 | Swap to XML_Serializer |
| #16753 | Closed | Bug | 0.6.0 | 2009-10-31 | Currencies_UN.php links to broken URL |
| #17110 | Closed | Bug | CVS | 2010-02-16 | Unit tests broken, 64 bit |