Help Center> > SDK Reference > PHP > Related Resources >Example Programs

Example Programs

OBS PHP SDK provides abundant example programs for user reference and direct use. These programs can be obtained from the OBS PHP SDK development package. For example, files in eSDK_Storage_OBS_<versionId>_PHP/examples obtained by decompressing eSDK_Storage_OBS_<versionId>_PHP.zip are example programs. Alternatively, you can click code package names provided in the following table to obtain corresponding example programs.

Example programs include:

Sample Code

Describes

BucketOperationsSample

How to use bucket-related APIs.

ObjectOperationsSample

How to use object-related APIs.

DownloadSample

How to download an object.

CreateFolderSample

How to create a folder.

DeleteObjectsSample

How to batch delete objects.

ListObjectsSample

How to list objects.

ListVersionsSample

How to list versioning objects.

ListObjectsInFolderSample

How to list objects in a folder.

ObjectMetaSample

How to customize object metadata.

SimpleMultipartUploadSample

How to perform a multipart upload.

RestoreObjectSample

How to download Archive objects.

ConcurrentCopyPartSample

How to concurrently copy parts of a large object.

ConcurrentDownloadObjectSample

How to concurrently download parts of a large object.

ConcurrentUploadPartSample

How to concurrently upload parts of a large object.

PostObjectSample

How to perform a browser-based upload.

TemporarySignatureSample

How to use URLs for authorized access.