PHPackages                             easy-ali/aliyun-php-sdk-core - 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. easy-ali/aliyun-php-sdk-core

ActiveLibrary

easy-ali/aliyun-php-sdk-core
============================

阿里sdk

1.2.4(7y ago)2311MITPHPPHP &gt;=5.3.0

Since Sep 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/yaozhibo/easyAli)[ Packagist](https://packagist.org/packages/easy-ali/aliyun-php-sdk-core)[ RSS](/packages/easy-ali-aliyun-php-sdk-core/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)DependenciesVersions (26)Used By (0)

阿里sdk简单使用
=========

[](#阿里sdk简单使用)

Install
-------

[](#install)

- `composer config repo.packagist composer https://packagist.org`
- `composer require easy-ali/aliyun-php-sdk-core`
- 在app.php中注册provider，Easyali\\Aliyun\\ServiceProvider::class
- 在.env中插入 ALIYUN\_SLIDER\_AK(aliyun access key) 和 ALIYUN\_SLIDER\_AS(aliyun access secret)
- `php artisan vendor:publish --provider="Easyali\Aliyun\ServiceProvider" --tag="config"`
- 生成aliyunSDKConfig.php

Requirements
------------

[](#requirements)

- PHP 5.3+

Example 1 滑动验证
--------------

[](#example-1-滑动验证)

1.需要先创建滑动验证配置文件aliSliderConfig.php

```
return [
    'app_key' => 'FFFF0N111111111111',
    'remote_ip' => '127.0.0.1'
];
```

2.使用

```
	use Easyali\Aliyun\AliSliderValidator;

    trait SlideValidator
    {
        public function validateSlider()
        {
            $params['csessionid'] = $_POST['csessionid'];
            $params['token'] = $_POST['token'];
            $params['sig'] = $_POST['sig'];
            $params['scene'] = $_POST['scene'];
            $appKey = config('aliyunSV.app_key');
            $remoteIp = config('aliyunSV.remote_ip');
            $slideValidator = new AliSliderValidator();
            $res = $slideValidator->validate($params['csessionid'], $params['token'], $params['sig'], $params['scene'], $appKey, $remoteIp);
            if($res->Code != 100) {
                throw new Exception('操作失败，请重试或联系管理员');
            }
        }
    }
```

Authors &amp;&amp; Contributors
-------------------------------

[](#authors--contributors)

- sdk开发者
- Zuhe
- [Ma Lijie](https://github.com/malijiefoxmail)
- sdk发布者
- [菜逼](https://github.com/yaozhibo)
- vendor开发者
- [菜逼](https://github.com/yaozhibo)mail:yyaozhibo@gmail.com

License
-------

[](#license)

licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 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

25

Last Release

2787d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/easy-ali-aliyun-php-sdk-core/health.svg)

```
[![Health](https://phpackages.com/badges/easy-ali-aliyun-php-sdk-core/health.svg)](https://phpackages.com/packages/easy-ali-aliyun-php-sdk-core)
```

PHPackages © 2026

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