1. Go to this page and download the library: Download axios/aliyun-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
\aliyun\sdk\Aliyun::region('cn-shanghai');
// or
$request = Vod::V20170321()->GetCategories();
$request->region("cn-shanghai);
// get region
$request->region();
$response = Vod::V20170321()->GetCategories()
->setCateId(-1)
->request();
// or
AliyunServices::Vod20170321()->GetCategories()
->setCateId(-1)
->request();