PHP code example of jybtx / huobi

1. Go to this page and download the library: Download jybtx/huobi library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jybtx / huobi example snippets


'providers' => [
    ...
    Jybtx\HuoBiApi\Providers\HuobiServiceProvider::class,
],
'aliases'  => [
    ...
    "HuobiApi": Jybtx\HuoBiApi\Faceds\HuobiFacade::class,
]

use HuobiApi;
HuobiApi::getAccountAccounts();
shell
php artisan vendor:publish --provider "Jybtx\HuoBiApi\Providers\HuobiServiceProvider"
shell
php artisan vendor:publish --tag=huobi-config