PHPackages                             birjemin/aliyun-sts - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. birjemin/aliyun-sts

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

birjemin/aliyun-sts
===================

aliyun sts(临时安全令牌服务)

0.0.2(6y ago)0662↑172.7%1MITPHPPHP &gt;=7.0.0CI failing

Since Oct 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Birjemin/aliyun-sts)[ Packagist](https://packagist.org/packages/birjemin/aliyun-sts)[ RSS](/packages/birjemin-aliyun-sts/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

AliyunSts
---------

[](#aliyunsts)

Aliyun STS临时授权访问OSS

### 使用

[](#使用)

1. 在laravel中安装 `composer require birjemin/aliyun-sts`
2. 在`config/app.php`中引入`ServiceProvider.php`，然后执行下面命令生成配置文件

```
php artisan vendor:publish --provider="Birjemin\AliyunSts\ServiceProvider"
```

3. 使用(确保`aliyun-sts.php`配置正确)

```
$sts = (new Sts())->getToken()->Credentials;
```

### 参考文档

[](#参考文档)

1. [官方调用流程总览](https://help.aliyun.com/document_detail/100624.html)
2. [官方Php示例](https://help.aliyun.com/document_detail/28792.html)
3. 引用核心包`jimchen/aliyun-php-sdk-sts`（此为第三方包替阿里云官方封装的，我就直接引用了 Orz... &gt;o&lt; ）

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

2392d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31ba949e88f82dc5fe4c96dd3c96ff1bdd619f12775842e121efe004c02cf157?d=identicon)[Birjemin](/maintainers/Birjemin)

---

Top Contributors

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

---

Tags

aliyun-oss-phpaliyun-php-sdkaliyun-stslaravellaravelstsaliyun

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/birjemin-aliyun-sts/health.svg)

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

###  Alternatives

[imdhemy/laravel-purchases

The top-notch Laravel receipt validator.

3831.1M2](/packages/imdhemy-laravel-purchases)[martbock/laravel-diceware

Diceware Passphrase Generator for Laravel

3264.7k](/packages/martbock-laravel-diceware)[orchestra/auth

Auth Component for Orchestra Platform

24108.5k3](/packages/orchestra-auth)[ingria/laravel-x509-auth

Laravel 5 Client Certificate auth middleware

375.6k](/packages/ingria-laravel-x509-auth)

PHPackages © 2026

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