PHPackages                             yyy/aliyun\_api\_gateway - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. yyy/aliyun\_api\_gateway

ActiveLibrary[API Development](/categories/api)

yyy/aliyun\_api\_gateway
========================

yyy's aliyun api gateway sdk

1.0.1(1y ago)014ApachePHPPHP ^7.0 || ^8.0

Since Oct 17Pushed 1y ago1 watchersCompare

[ Source](https://github.com/yyyyyy123/aliyun_api_gateway)[ Packagist](https://packagist.org/packages/yyy/aliyun_api_gateway)[ RSS](/packages/yyy-aliyun-api-gateway/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

yyy的阿里云云市场 api 接口签名调用 sdk
=========================

[](#yyy的阿里云云市场-api-接口签名调用-sdk)

本项目代码主要根据阿里云官网提供的 demo 编写而成

- 阿里云官网 demo 不可以使用 composer，使用很不方便。
- 本项目的目的，在阿里云市场购买 api 接口后，不想使用不安全的 API 简单身份调用认证，想使用更安全的 API 签名调用认证，但苦于没有现成的 composer 库，本项目来提供解决方案。
- 签名调用的原理参见官网：
- 最主要的代码在 Util/HttpUtil.php
- 排查错误，可以使用返回对象的 getContent() 等方法，会完整打印出所有返回信息含头信息。正常只需 getBody() 就可以得到接口的返回信息。
- 如想自己修改代码，无需改本类库，只需把类库根目录下的 ApiClient.php 取出拷贝到自己项目，然后随便改改就好用了。
- 本项目创建时间 2024-10-17

```
// 这是一个示例，展示了如何使用本sdk调用接口。

$appKey='20XXXXXX';
$appSecret='zVXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
$host='https://XXXXX.market.alicloudapi.com';
$path = "/XXX/XXX";

$help =  \YYY\Aliyun\ApiGateWay\ApiClient::getInstance( $appKey, $appSecret );
// 只有post，get两个方法。
$response = $help->post( $host, $path,[
    'name'=>'XXXX',
    'account'=>'1XXXXXXXXXXXXXXXXXXX',
] );

// 返回是字符串。
echo $response->getBody();
// 返回类似如下代码，特别注意，每个接口返回的字段都很不一样。不可以套用。
//{"data":{"count":1,"items":[{"Name":"XXX","Abc":"IC","province":""}]},"msg":"成功","success":true,"taskNo":"742436029166773500611327"}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

570d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b08d6f62bb0ae189472fba9d5b0453e3dbf5f5dbe2a149546d9e576d0bec0d9?d=identicon)[yyy123456789](/maintainers/yyy123456789)

---

Top Contributors

[![yyyyyy123](https://avatars.githubusercontent.com/u/6768154?v=4)](https://github.com/yyyyyy123 "yyyyyy123 (2 commits)")

---

Tags

gatewayaliyunyyy

### Embed Badge

![Health badge](/badges/yyy-aliyun-api-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/yyy-aliyun-api-gateway/health.svg)](https://phpackages.com/packages/yyy-aliyun-api-gateway)
```

###  Alternatives

[mollie/mollie-api-php

Mollie API client library for PHP. Mollie is a European Payment Service provider and offers international payment methods such as Mastercard, VISA, American Express and PayPal, and local payment methods such as iDEAL, Bancontact, SOFORT Banking, SEPA direct debit, Belfius Direct Net, KBC Payment Button and various gift cards such as Podiumcadeaukaart and fashioncheque.

59914.4M61](/packages/mollie-mollie-api-php)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[alibabacloud/client

Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project

2223.5M367](/packages/alibabacloud-client)[mollie/magento2

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[mobizon/mobizon-php

A PHP library for communicating with the Mobizon API. Mobizon is a powerful SMS gateway and online marketing tools.

18115.1k1](/packages/mobizon-mobizon-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
