Ensure that you are familiar with OBS basic concepts from Help Center, such as bucket, object, region, and AK and SK.
This chapter introduces how to set up an environment for secondary development and to perform common operations, including creating a bucket, uploading an object, and downloading an object.
- 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.