PHPackages                             dh2y/think-ali-rpc - 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. dh2y/think-ali-rpc

ActiveLibrary[API Development](/categories/api)

dh2y/think-ali-rpc
==================

Alibaba RPC for thinkphp5

2.1.1(6y ago)010MITPHPPHP &gt;=5.4.0

Since Sep 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/cinaofdai/think-aliRPC)[ Packagist](https://packagist.org/packages/dh2y/think-ali-rpc)[ Docs](https://github.com/cinaofdai/think-aliRPC)[ RSS](/packages/dh2y-think-ali-rpc/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (4)Used By (0)

think-aliRPC
============

[](#think-alirpc)

The ThinkPHP5 alibaba RPC laibaba ERC 实人认证 SDK

官方文档地址： [https://help.aliyun.com/document\_detail/127471.html?spm=a2c4g.11186623.6.569.17ef684dmHNfpc](https://help.aliyun.com/document_detail/127471.html?spm=a2c4g.11186623.6.569.17ef684dmHNfpc)

安装
--

[](#安装)

### 一、执行命令安装

[](#一执行命令安装)

```
composer require dh2y/think-aliRPC

```

或者

### 二、require安装

[](#二require安装)

适配5.0

```
"require": {
        "dh2y/think-aliRPC":"1.*"
},

```

适配5.1

```
"require": {
        "dh2y/think-aliRPC":"2.*"
},

```

或者

### 三、autoload psr-4标准安装

[](#三autoload-psr-4标准安装)

```
   a) 进入vendor/dh2y目录 (没有dh2y目录 mkdir dh2y)
   b) git clone
   c) 修改 git clone下来的项目名称为think-aliRPC
   d) 添加下面配置
   "autoload": {
        "psr-4": {
            "dh2y\\aliRPC\\": "vendor/dh2y/think-aliRPC/src"
        }
    },
    e) php composer.phar update

```

使用
--

[](#使用)

#### 添加配置文件

[](#添加配置文件)

```
return [
    'AccessKeyID' => 'LTAI4FdYqG5uHNwmrN38nQuS',
    'AccessKeySecret' => 'yGwGOLTCzyrQranc5Fx4mqaK15S5n9',
    'BizType' => 'mimiliaoRPBase'   //业务场景标识
];

```

#### 使用方法

[](#使用方法)

```
 $token = AliRPC::getInstance()->getToken();

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~0 days

Total

3

Last Release

2472d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc26237555d75149f5e33dbfa820b3467ec5c700035c4fa74d6fe5c52e9bd21d?d=identicon)[cinaofdai](/maintainers/cinaofdai)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/dh2y-think-ali-rpc/health.svg)

```
[![Health](https://phpackages.com/badges/dh2y-think-ali-rpc/health.svg)](https://phpackages.com/packages/dh2y-think-ali-rpc)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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