Downloads
Stars
Version
Crypto trading via multiple exchanges for Laravel
composer require adman9000/laravel-cryptoexchange
https://github.com/adman9000/laravel-binance
https://github.com/adman9000/laravel-cryptopia
https://github.com/adman9000/laravel-kraken
https://github.com/adman9000/laravel-bittrex
Price tickers, markets and currencies
Allows consistent interaction between multiple cryptoexchange APIs. Currently works with Binance, Kraken, Bittrex, Cryptopia.
Pass the exchange name in as the first parameter on the constructor, API key and secret as 2nd & 3rd if needed.
$exchange = new Exchange('kraken', $key, $secret);
$data = $exchange->getCurrencies();
Returned data will be consistently in the following format:
[
'success' => boolean,
'fail' => boolean,
'errors' => array(),
'data' => array()
]