PHP Classes

PHP Exchange Rate API: Get exchange rate for currency and precious metals

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 766 All time: 4,401 This week: 156Up
Version License PHP version Categories
currencylayer 1.0GNU General Publi...5PHP 5, Web services, Finances


This class can get exchange rate for currency and precious metals.

It can send HTTP requests to currencylayer Web service API Web server to request the exchange rates between currencies and precious metals.

Currently it supports 168 currencies and precious metals, including Bitcoin supported.

It also provides historical data as far back as the year 2000.

Innovation Award
PHP Programming Innovation award nominee
January 2016
Number 14
Getting the exchange rate is useful often in applications that deal with multiple currencies.

However, sometimes you need not only the rates for exchanging between currencies on the current day, but also on past dates.

This class provides means to obtain currency and precious metal exchange rates on any past date starting the year 2000 using the currencylayer API.

Manuel Lemos
Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 58
All time rank: 618 in United States United States
Week rank: 29 Up4 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

  Files folder image Files  
File Role Description
Plain text file currency.class.php Class Main Class
Accessible without login Plain text file example.php Example Example Usage
Accessible without login Plain text file license.txt Lic. License

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,401
This week:156Up
 User Ratings  
 All time