Help Center> Object Storage Service> PHP> SDK Download Links
Updated on 2024-01-31 GMT+08:00

SDK Download Links

Download Address

  • Latest version of OBS PHP SDK source code: Download
  • Earlier versions of OBS PHP SDK: Download

SDK Source Code and API Documentation

Compatibility

  • Recommended PHP versions: 5.6 and 7.x
    • PHP SDK 3.22.6 and later require the PHP version must not be earlier than PHP 7.1.
    • PHP SDKs are only compatible with PHP version 8.1 and earlier. PHP version 8.2 and later are not supported.
  • Namespace: This version is incompatible with the earlier version (2.1.x). All public classes and functions are saved in the obs package.
  • Interface functions: Not completely compatible with earlier versions (2.1.x). The following table describes the changes.

    Interface Function

    Description

    ObsClient.setBucketCors

    In the request parameters, the CorsRule field is renamed as CorsRules.

    ObsClient.getBucketCors

    In the response parameters, the CorsRule field is renamed as CorsRules.

    ObsClient.setBucketTagging

    In the request parameters, the TagSet field is renamed as Tags.

    ObsClient.getBucketTagging

    In the response parameters, the TagSet field is renamed as Tags.