Registry / cloud / tencentcloud-tencentcloud-sdk-php

tencentcloud-tencentcloud-sdk-php

JSON →
library3.0.1516phppackagistunverified

TencentCloudApi php sdk

composer require tencentcloud/tencentcloud-sdk-php
INSTALL
IMPORT
SIG · TENCENTCLOUD-TENCE
T
tencentcloud-tencentcloud-sdk-php
cloudphpv3.0.1516
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Credential
use TencentCloud\Common\Credential;

Initialize a Tencent Cloud CVM client

use TencentCloud\Common\Credential; use TencentCloud\Common\Profile\ClientProfile; use TencentCloud\Common\Profile\HttpProfile; use TencentCloud\Cvm\V20170312\CvmClient; $cred = new Credential('SecretId', 'SecretKey'); $httpProfile = new HttpProfile(); $clientProfile = new ClientProfile(); $clientProfile->setHttpProfile($httpProfile); $client = new CvmClient($cred, 'ap-guangzhou', $clientProfile);
Debug
Known issues
breakingBreaking changes between major versions: The SDK v3 uses a different namespace and client structure compared to v2.
fix
Migrate from v2 to v3 by updating namespaces and client instantiation.
affects: >=3.0.0
Upgrade
Version history
3.0.1516latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
36
Resources
tencentcloud-tencentcloud-sdk-php — pip install tencentcloud-tencentcloud-sdk-php · libregistry