PHP code example of jackliu / bt
1. Go to this page and download the library: Download jackliu/bt 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/ */
jackliu / bt example snippets
$bt = new Bt('http://127.0.0.1:8888','xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
header('Content-type: application/json');
echo json_encode($bt->GetSystemTotal());