anchnet / aliyun-openapi-php-sdk
Alibaba Cloud SDK for PHP
Installs: 25 766
Dependents: 3
Suggesters: 0
Security: 0
Stars: 21
Watchers: 8
Forks: 804
Open Issues: 0
Requires
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2024-12-20 13:06:33 UTC
README
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.
Composer Support
composer require anchnet/aliyun-openapi-php-sdk:dev-master
Example
include_once 'vendor/autoload.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