Importing a PHP SDK into a PHP Environment
- On the Content Moderation SDKs page, download and decompress the Content Moderation PHP SDK. The structure and content of the decompressed package are described as follows:
├── php │ ├── data # Sample image │ ├── moderation_sdk # Content Moderation SDK code │ │ ├── ais.py # Constant configuration of Content Moderation │ │ ├── moderation_image.py # Image Moderation SDK code │ │ ├── signer.py │ ├── image_moderation_token_demo.php # Image Moderation AK/SK demo │ ├── image_moderation_aksk_demo.php # Image Moderation token demo
- On the PhpStorm page, choose select the path for storing the decompressed SDK package, and import the SDK package. See Figure 1.
Last Article: Preparing a PHP Development Environment
Next Article: SDK Calling Example

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.