Updated on 2024-12-09 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 SDK 3.23.11 and earlier are compatible with up to PHP 8.1. To be compatible with later PHP versions, upgrade the PHP SDK version to 3.24.9.
  • 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.