Updated on 2026-09-22 GMT+08:00

Before You Start

If you have any questions during development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see API Reference.

  • Ensure that you are familiar with OBS basic concepts, such as buckets, objects, and access keys (AK and SK).
  • You can see General Examples of ObsClient to understand how to call OBS PHP SDK APIs in a general manner.
  • If no exception is thrown after an ObsClient API is called, the operation is successful and an SDK common result object is returned. If an exception is thrown, the operation fails. In this case, you can refer to SDK custom exceptions to learn the reason.
  • Some features are available only in some regions. If an API call returns the 405 HTTP status code, check whether the region supports this feature.