1. Go to this page and download the library: Download crazyssl/sdk 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/ */
crazyssl / sdk example snippets
use Crazyssl\Client as Crazyssl;
$sdk = new Crazyssl('你的 API 用户名', '你的 API 秘钥', 'https://api.trustocean.com/ssl/v3'); #如果你是crazyssl开发者的话, 第三个参数可以不传
$list = $sdk->product->getProductList();
print_r($list);