vars3cf / aliyun-sdk-core
aliyun-php-sdk-core 封装,支持composer方式使用
v1.0.0
2022-06-21 04:07 UTC
Requires
- php: >=5.4
Requires (Dev)
- phpunit/phpunit: >=4.8 < 6.0
This package is not auto-updated.
Last update: 2025-03-12 16:25:14 UTC
README
项目介绍
阿里云SDK核心包重构,支持composer方式使用
安装教程
composer require vars3cf/aliyun-sdk-core
使用说明
<?php
//引入autoload
require "vendor/autoload.php";
use AliCloud\Core\Profile\DefaultProfile;
use AliCloud\Core\DefaultAcsClient;
//使用
$access_key_id = "your-key-id";
$access_key_secret = "your-key-secret";
$region_id = "cn-shanghai";
$profile = DefaultProfile::getProfile($region_id,$access_key_id,$access_key_secret);
$client = new DefaultAcsClient($profile);
var_dump($client);
参与贡献
- Fork 本项目
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request