Updated on 2023-01-19 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.
  • After an API of ObsClient is called, view whether an exception is thrown. If no, an SDK custom exception will be returned, indicating a successful operation. If yes, the operation fails and you need to obtain the error information from the instance of the SDK custom exception.
  • Some features are available only in some regions. If the HTTP status code of an API is 405, check whether the region supports this feature.