1. Go to this page and download the library: Download linwj/bitget 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/ */
linwj / bitget example snippets
$bitget=new BitgetSpotV2($key,$secret,$passphrase);
//or
$bitget=new BitgetContractV2()($key,$secret,$passphrase);
//You can set special needs
$bitget->setOptions([
//Set the request timeout to 60 seconds by default
'timeout'=>10,
]);