PHPackages                             eddycjy/aliyun-api-gateway-sdk - 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. eddycjy/aliyun-api-gateway-sdk

ActiveLibrary[API Development](/categories/api)

eddycjy/aliyun-api-gateway-sdk
==============================

aliyun-api-gateway-sdk

0.9.1(8y ago)1281MITPHPPHP &gt;=5.4

Since Sep 24Pushed 8y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Aliyun Api Gateway SDK
======================

[](#aliyun-api-gateway-sdk)

[![Latest Stable Version](https://camo.githubusercontent.com/e63c248e2e591250c8fdc09c7d511316a0cc856c982df94931b663fb130a8a8a/68747470733a2f2f706f7365722e707567782e6f72672f45444459434a592f616c6979756e2d6170692d676174657761792d73646b2f762f737461626c65)](https://packagist.org/packages/eddycjy/aliyun-api-gateway-sdk)[![License](https://camo.githubusercontent.com/427984f4d18ce3506eedb314bfddb80074db8eac076a37ee7fd47a706e95e530/68747470733a2f2f706f7365722e707567782e6f72672f45444459434a592f616c6979756e2d6170692d676174657761792d73646b2f6c6963656e7365)](https://packagist.org/packages/eddycjy/aliyun-api-gateway-sdk)[![Total Downloads](https://camo.githubusercontent.com/01b882f74dfaf1775fef42133c25271ea9f2158daef5b5c4ee2dfb551ea7a66b/68747470733a2f2f706f7365722e707567782e6f72672f45444459434a592f616c6979756e2d6170692d676174657761792d73646b2f646f776e6c6f616473)](https://packagist.org/packages/eddycjy/aliyun-api-gateway-sdk)

Requirements
============

[](#requirements)

- PHP &gt;= 5.4.0
- Composer
- Curl

Installation
============

[](#installation)

```
composer require eddycjy/aliyun-api-gateway-sdk
```

Configuration
=============

[](#configuration)

Use File
--------

[](#use-file)

Copy Env.example.php file to Env.php

```
return [
    'AccessKeyId'       => '',
    'AccessKeySecret'   => '',
    'Format'            => 'json',
    'Version'           => '2016-07-14',
    'SignatureMethod'   => 'HMAC-SHA1',
    'SignatureVersion'  => '1.0'
];
```

Use Array
---------

[](#use-array)

```
use ApiGateway\Config\ArrayConfig;
use ApiGateway\Model\ApiGroup\CreateApiGroup;
use ApiGateway\ApiService;

$config = new ArrayConfig([
    'AccessKeyId'       => '',
    'AccessKeySecret'   => '',
    'Format'            => 'json',
    'Version'           => '2016-07-14',
    'SignatureMethod'   => 'HMAC-SHA1',
    'SignatureVersion'  => '1.0'
]);

$model = new CreateApiGroup();
$model->setGroupName('Demo');
$model->setDescription('Demo-CreateApiGroup');

$serviceObj = new ApiService($model, $config);
$response   = $serviceObj->get();
```

Usage
=====

[](#usage)

[Please see the example directory](https://github.com/EDDYCJY/aliyun-api-gateway-sdk/tree/master/example)

Gen
===

[](#gen)

Generate Model and Example:
---------------------------

[](#generate-model-and-example)

```
# Python 3.x
python gen.py

```

```
Please input class name: CreateApi
Please input class group: Api
Please input class property-key: GroupId
Please input class property-params: id

# input q to quit
Please input class property-key: q
```

- Model Code:

```
namespace ApiGateway\Model\Api;

use ApiGateway\ApiModel;

class CreateApi extends ApiModel
{
    public $GroupId;

    public function setGroupId($id)
    {
        $this->GroupId = $id;

        return $this;
    }

    ...
```

- Example Code:

```
use ApiGateway\Model\Api\CreateApi;
use ApiGateway\ApiService;

$object = new CreateApi();
$object->setGroupId($demo);
...

$serviceObj = new ApiService($object);
$response   = $serviceObj->get();
```

License
=======

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

Every ~3 days

Total

2

Last Release

3148d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13746731?v=4)[煎鱼](/maintainers/EDDYCJY)[@eddycjy](https://github.com/eddycjy)

---

Top Contributors

[![eddycjy](https://avatars.githubusercontent.com/u/13746731?v=4)](https://github.com/eddycjy "eddycjy (31 commits)")

---

Tags

apialiyun

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

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