x1ongzhu e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos
..
aliyun-php-sdk-core e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos
aliyun-php-sdk-live e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos
.gitignore e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos
License e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos
README.md e05fa95578 first commit %!s(int64=7) %!d(string=hai) anos

README.md

Open API SDK for php developers

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);

Authors && Contributors

License

licensed under the Apache License 2.0