royfj / aliyun-openapi-php-sdk
Fork from https://github.com/aliyun/aliyun-openapi-php-sdk
1.0.0
2019-05-09 08:06 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-11-14 12:44:49 UTC
README
Composer
We have released a new SDK that supports Composer and gradually stop maintenance this version. Welcome to the new SDK: Alibaba Cloud SDK for PHP
Requirements
- PHP 5.3+
Build
- to run unit tests, you will have to configure aliyun-sdk.properties files in your user directory, and make sure your project has corresponding service enabled, eg. openmr.
Example
include_once '../aliyun-php-sdk-core/Config.php'; use Ecs\Request\V20140526 as Ecs; $iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "<your accessKey>", "<your accessSecret>"); $client = new DefaultAcsClient($iClientProfile); $request = new Ecs\DescribeRegionsRequest(); $request->setMethod("GET"); $response = $client->getAcsResponse($request); print_r($response);
License
licensed under the Apache License 2.0