byteplus_sdk / byteplus-sdk-php
BytePlus SDK for PHP
Installs: 4 822
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 5
Open Issues: 1
Requires
- php: >=7.1
- ext-json: *
- ext-openssl: *
- google/gax: *
- google/protobuf: *
- guzzlehttp/guzzle: ^7.0
- guzzlehttp/psr7: ^v1.9.0
README
composer require
composer require byteplus_sdk/byteplus-sdk-php
Region Setting
- Currently one region
- ap-singapore-1
- Default ap-singapore-1, Specify region as param in init function if needed:
$client = Iam::getInstance('us-east-1');
AK/SK Setting
-
Use VodService method setAccessKey/setSecretKey in code
-
Set env variables BYTEPLUS_ACCESSKEY="your ak" BYTEPLUS_SECRETKEY = "your sk"
-
json file at ~/.byteplus/config:{"ak":"your ak","sk":"your sk"}
Above will take precedence from high to low