PHP Classes

Coin Layer PHP Cryptocurrency Exchange Rates API: Get the exchange rates for crypto currencies

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 187 All time: 8,625 This week: 455Up
Version License PHP version Categories
coinlayer 1.0.0GNU General Publi...5PHP 5, Web services, Finances


This class can get the exchange rates for crypto currencies.

It can send HTTP requests to the Coin Layer API to retrieve the value of a given amount converted from one base currency to a given crypto currency supported by this API like for instance Bitcoin.

The class supports retrieving the converted amount at a given past historical date.

Innovation Award
PHP Programming Innovation award nominee
August 2018
Number 7
Crypto-currencies are very popular nowadays. There are many of those currencies and their exchange rates vary a lot every day.

This class provides a solution to get the exchange rates of many crypto-currencies today or at a given date in the past.

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: 59
All time rank: 608 in United States United States
Week rank: 22 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x


//instantiate the class
$coin = new coinLayer();


$coin->setParam('symbols','BTC, TRUMP, 611');



//$newVal = $fixer->convertTo(100,'USD');

//echo 'Test: '.$newVal;


  Files folder image Files  
File Role Description
Plain text file coinlayer.class.php Class Main Class
Accessible without login Plain text file license.txt Lic. License
Accessible without login Plain text file testing.php Example Example Source

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