idnatiya / byteplus-sdk-php
1.0.0
2024-10-17 11:37 UTC
Requires
- php: >=7.1
- ext-json: *
- ext-openssl: *
- google/gax: *
- google/protobuf: *
- guzzlehttp/guzzle: ^7.0
- guzzlehttp/psr7: v1.9.0
This package is auto-updated.
Last update: 2025-04-24 04:34:30 UTC
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
More examples:
example