PHPackages                             ninvfeng/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ninvfeng/aliyun-sts

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ninvfeng/aliyun-sts
===================

Aliyun-STS SDK

1.1.1(7y ago)1121MITPHPPHP &gt;=5.3

Since Apr 8Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ninvfeng/aliyun-sts)[ Packagist](https://packagist.org/packages/ninvfeng/aliyun-sts)[ Docs](http://github.com/ninvfeng/aliyun-sts)[ RSS](/packages/ninvfeng-aliyun-sts/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (3)Used By (0)

aliyun-sts
==========

[](#aliyun-sts)

fork from `hpyer/aliyun-sts`, deleted laravel supports and changed directory structure.

安装
==

[](#安装)

composer require ninvfeng/aliyun-sts

使用
==

[](#使用)

```
$config['bucket']          = 'oss bucket';
$config['region']          = 'oss-cn-shenzhen';
$config['endPoint']        = 'oss-cn-shenzhen.aliyuncs.com';
$config['AccessKeyId']     = 'AccessKeyId';
$config['AccessKeySecret'] = 'AccessKeySecret';
$config['roleArn']         = '角色权限信息, 阿里云控制台查看';
$config['roleName']        = '角色名称';
$obj=new Sts\OssToken($config);
$res=$obj->getStsAcount();
response($res);

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

2

Last Release

2590d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/12c3988c7e44f6512401557de9fa2b4d511696dd3bd2b57ef296c95967f33790?d=identicon)[ninvfeng](/maintainers/ninvfeng)

---

Top Contributors

[![ninvfeng](https://avatars.githubusercontent.com/u/6409949?v=4)](https://github.com/ninvfeng "ninvfeng (4 commits)")[![hpyer](https://avatars.githubusercontent.com/u/1290392?v=4)](https://github.com/hpyer "hpyer (1 commits)")

---

Tags

stsaliyunoss

### Embed Badge

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

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

###  Alternatives

[alibabacloud/sdk

Alibaba Cloud SDK for PHP - Easier to Use Alibaba Cloud in your PHP project

5282.1M45](/packages/alibabacloud-sdk)[aliyuncs/aliyun-oss-php-sdk-laravel

A simple Laravel 5 and lumen service provider for including the Oss PHP SDK for PHP.

7935.4k2](/packages/aliyuncs-aliyun-oss-php-sdk-laravel)[mrgoon/aliyun-sms

阿里云短信服务php调用代码

8292.9k](/packages/mrgoon-aliyun-sms)[saviorlv/yii2-dysms

Aliyun SMS SDK for Yii2

1316.5k1](/packages/saviorlv-yii2-dysms)

PHPackages © 2026

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