Alibaba Cloud SDK for PHP https://github.com/aliyun/aliyun-openapi-php-sdk
use Aliyun\Ecs\EcsClient;
$this->ecs = new EcsClient()
->setProfile("cn-hangzhou", "<your accessKey>", "<your accessSecret>")->build();
$result = $this->ecs->describeRegion();
print_r($result);