Skip to content
This repository has been archived by the owner on Dec 27, 2021. It is now read-only.

TencentCloudBase/tencentcloud-client-php

Repository files navigation

Tencent Cloud V3 Client For PHP

use TencentCloudClient\TCClient;
use TencentCloudClient\Credential;

$secretId = "Your SecretId";
$secretKey = "Your SecretKey";

$credential = new Credential($secretId, $secretKey);

$client = new TCClient(
    "tcb.tencentcloudapi.com",
    "2018-06-08",
    $credential,
    ""
);

$result = $client->request("DescribeEnvs");