PHPackages                             liujinyong/ali-api - 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. liujinyong/ali-api

ActiveLibrary[API Development](/categories/api)

liujinyong/ali-api
==================

阿里云api

1.0.3(2y ago)05MITPHPPHP &gt;5.5

Since Dec 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Liujinyong-Extension/ali-api)[ Packagist](https://packagist.org/packages/liujinyong/ali-api)[ RSS](/packages/liujinyong-ali-api/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

 ali-api
=========

[](#-ali-api-)

 阿里云整合API.

Installing
----------

[](#installing)

```
$ composer require liujinyong/ali-api
```

整合阿里云API
--------

[](#整合阿里云api)

### 1号码认证服务-[短信认证功能](https://help.aliyun.com/zh/pnvs/product-overview/message-authentication?spm=a2c4g.11186623.0.0.6ca14130yQthsP)

[](#1号码认证服务-短信认证功能)

```
    //发送短信
    $client = new \Liujinyong\AliApi\core\number_authentication\Message("","","","");
    $res = $client->send("");
    $res->toMap()
    //验证短信
    $client = new \Liujinyong\AliApi\core\number_authentication\Message("","","","");
    $res = $client->check("");
    $res->toMap()
```

### 2.号码认证服务-[号码认证功能](https://help.aliyun.com/zh/pnvs/product-overview/number-authentication?spm=a2c4g.11186623.0.0.4a4f474c3u5Ytu)

[](#2号码认证服务-号码认证功能)

```
    //获取手机号
    $client = new \Liujinyong\AliApi\core\one_time_login\Login("","");
    $res = $client->getPhone("");

    //校验手机号
    $client = new \Liujinyong\AliApi\core\one_time_login\Login("","");
    $res = $client->checkPhone("","");
```

### 3.融合认证服务-[融合认证功能](https://help.aliyun.com/zh/pnvs/product-overview/integration-authentication-function?spm=a2c4g.11186623.0.0.72d548feiubANN)

[](#3融合认证服务-融合认证功能)

```
    //获取token
    $client = new \Liujinyong\AliApi\core\rong_authentication\Rong("","");
    $res = $client->gettoken("Android",1000,'',"","");

    //获取手机号
    $client = new \Liujinyong\AliApi\core\rong_authentication\Rong("","");
    $res = $client->getPhone("");
```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/liujinyong/ali-api/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/liujinyong/ali-api/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

3

Last Release

912d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6452872?v=4)[Yong](/maintainers/LiuJinYong)[@Liujinyong](https://github.com/Liujinyong)

---

Top Contributors

[![Liujinyong-Extension](https://avatars.githubusercontent.com/u/29178642?v=4)](https://github.com/Liujinyong-Extension "Liujinyong-Extension (4 commits)")

### Embed Badge

![Health badge](/badges/liujinyong-ali-api/health.svg)

```
[![Health](https://phpackages.com/badges/liujinyong-ali-api/health.svg)](https://phpackages.com/packages/liujinyong-ali-api)
```

###  Alternatives

[alibabacloud/dingtalk

Alibaba Cloud Dingtalk SDK Library for PHP

16153.0k8](/packages/alibabacloud-dingtalk)

PHPackages © 2026

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