PHPackages                             stingbo/easyexchange - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. stingbo/easyexchange

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stingbo/easyexchange
====================

easy use digital currency exchange sdk

v2.0.5(3y ago)861.3k31[1 issues](https://github.com/stingbo/easyexchange/issues)MITPHPPHP &gt;=7.2

Since Mar 7Pushed 3y ago3 watchersCompare

[ Source](https://github.com/stingbo/easyexchange)[ Packagist](https://packagist.org/packages/stingbo/easyexchange)[ RSS](/packages/stingbo-easyexchange/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (9)Versions (21)Used By (0)

PHP Easy Exchange Api
---------------------

[](#php-easy-exchange-api)

- Easy use digital currency exchange SDK, include `Binance`, `OKX`, `Huobi`, `Gate`, `Coinbase` etc
- If you don’t have what you want, please let me know, and I will fulfill your wish 😄
- Pull requests are welcome.
- [中文文档](README_CN.md)

Requirement
-----------

[](#requirement)

1. PHP &gt;= 7.2
2. **[Composer](https://getcomposer.org/)**

Installation
------------

[](#installation)

```
$ composer require "stingbo/easyexchange" -vvv
```

Agreement
---------

[](#agreement)

1. You are very familiar with the API documentation of the access platform in the project
2. If it is greater than or equal to more than three parameters, use an array to pass in, otherwise use a parameter with the same name to pass in
3. The interface name is not necessarily consistent with the corresponding platform. I have unified the interfaces of multiple platforms, but the parameters need to be passed in the corresponding name of the platform
4. Binance's timestamp parameter is built-in, no additional input is required
5. Huobi’s AccessKeyId, SignatureMethod, SignatureVersion, and Timestamp are already built-in, no additional input is required

Websocket
---------

[](#websocket)

platformsupport[Binance](docs/binance_websocket.md)✔️[Huobi](docs/huobi_websocket.md)✔️[OKX](docs/okex_websocket.md)✔️[Gate](docs/gate_websocket.md)✔️[Coinbase](docs/coinbase_websocket.md)✔️Usage
-----

[](#usage)

### Binance

[](#binance)

 **🚀 Quick Start** ```
