Importing a PHP SDK into a PHP Environment
You are advised to use Composer to install the PHP SDK for Content Moderation. Composer is a dependency manager for PHP. It allows you to declare and install dependencies in a project.
// Install Composer. curl -sS https://getcomposer.org/installer | php // Install the PHP SDK. composer require huaweicloud/huaweicloud-sdk-php
After the installation is complete, you need to import the autoload file of Composer.
require 'path/to/vendor/autoload.php';
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot