PHPackages                             luoyy/aliyun-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. [API Development](/categories/api)
4. /
5. luoyy/aliyun-core

ActiveLibrary[API Development](/categories/api)

luoyy/aliyun-core
=================

aliyun-php-sdk-core

v2.0.1(5y ago)013712PHPPHP &gt;=7.1.0

Since Dec 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/zishang520/aliyun-core)[ Packagist](https://packagist.org/packages/luoyy/aliyun-core)[ RSS](/packages/luoyy-aliyun-core/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (7)Used By (2)

阿里云核心SDK(集成STS)
===============

[](#阿里云核心sdk集成sts)

### 安装包

[](#安装包)

```
composer require luoyy/aliyun-core
```

###### 在 app.php 中注册服务器提供者(Laravel5.5+支持自动发现)

[](#在-appphp-中注册服务器提供者laravel55支持自动发现)

```
luoyy\AliCore\Providers\AcsClientServiceProvider
```

###### ENV

[](#env)

```
#阿里云CORE配置
ALI_REGION_ID=
ALI_ACCESS_KEY_ID=
ALI_ACCESS_KEY_SECRET=
```

### Quick Sample Usage

[](#quick-sample-usage)

```
/**
 * STS DEMO
 */
use luoyy\AliCore\Facades\AcsClient;
use luoyy\AliCore\Sts\Request\AssumeRoleRequest;

$request = new AssumeRoleRequest();
$request->setRoleSessionName("client_name");
$request->setRoleArn(/*role_arn*/);
$request->setPolicy(/*policy*/);
$request->setDurationSeconds(/*token_expire_time*/);
$response = AcsClient::getAcsResponse($request);
var_dump($response);
```

#### 相关包

[](#相关包)

包名描述版本luoyy/aliyun-core-sms短信sdkv1.0.1luoyy/aliyun-core-pns手机号认证sdkv1.0.0### 更新日志

[](#更新日志)

- `2021.01.19`：添加手机号认证sdk
- `2020.09.30`：更新版本到2.0，更新SDK，除了STS其它模块改为composer包发布

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

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

Recently: every ~160 days

Total

6

Last Release

2048d ago

Major Versions

v1.0.3 → v2.0.02020-09-30

PHP version history (2 changes)v1.0.0PHP &gt;=5.6.0

v2.0.0PHP &gt;=7.1.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

aliyun-sdklaravellumencorealiyun

### Embed Badge

![Health badge](/badges/luoyy-aliyun-core/health.svg)

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

###  Alternatives

[mollie/laravel-mollie

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

3624.1M28](/packages/mollie-laravel-mollie)[jlcd/api-cielo30-laravel

Laravel Provider for Cielo's 3.0 API

17224.5k](/packages/jlcd-api-cielo30-laravel)[wxm/pdd-sdk

拼多多 SDK 封装, 调用简单、语义化增强。支持 Laravel/Lumen。

154.7k](/packages/wxm-pdd-sdk)

PHPackages © 2026

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