- Documentation
Torch Object Storage
SDK Reference
PHP
Bucket Interface
Creating a Bucket (PHP SDK)
Bucket Interface
Creating a Bucket (PHP SDK)
Creating a Bucket (PHP SDK)
A Bucket (桶) is the globally unique namespace in TOS, functioning as a data container for storing Object data. The name of a newly created bucket must be unique within TOS.
Sample Code
You can create a new bucket using TosClient->createBucket. The following is a sample code:
Last updated: 2025.09.23 14:41:21