dew-serverless/acs-sdk-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

dew-serverless/acs-sdk-php

最新稳定版本:v0.10.0+20251213

Composer 安装命令:

composer require dew-serverless/acs-sdk-php

包简介

Unofficial Alibaba Cloud PHP SDK.

README 文档

README

Tests MIT License OpenAPI metadata Total Downloads Release

⚠️ Important: This package is in the early stages of development and may undergo breaking changes at any time. If you plan to use this SDK in a production environment, please be aware that such changes could impact your application.

The unofficial SDK utilizes Alibaba Cloud OpenAPI metadata and is designed to be HTTP client-agnostic. We aim to keep it simple, reusable, and maintainable, given the wide range of services offered by Alibaba Cloud. Even if you prefer to craft your own API requests, we can assist with request signing, sparing you from the complexities of signature calculations.

Quickstart

Install

The SDK can be installed using Composer with the following command:

composer require dew-serverless/acs-sdk-php

Usage

Clients follow the naming convention of <Product>Client. For example, with VPC, let's create a new network for our awesome project:

use Dew\Acs\Vpc\VpcClient;

$client = new VpcClient([
    'region' => 'cn-shenzhen',
    'credentials' => [
        'key' => '<YOUR_ACCESS_KEY_ID>',
        'secret' => '<YOUR_ACCESS_KEY_SECRET>',
    ],
]);

$result = $client->createVpc([
    'RegionId' => 'cn-shenzhen',
]);

echo $result['VpcId']; // retrieve the newly-created VPC ID.

You can pass arguments to the service as an array. For details on additional fields you can include, please refer to the official product documentation.

统计信息

  • 总下载量: 1.54k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-15