PHPackages                             jimchen/aliyun-php-sdk-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. jimchen/aliyun-php-sdk-sts

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

jimchen/aliyun-php-sdk-sts
==========================

aliyun php sdk sts

2.0.0(5y ago)12.5k1Apache-2.0PHPPHP &gt;=5.5CI failing

Since Oct 31Pushed 5y ago1 watchersCompare

[ Source](https://github.com/JimChenWYU/aliyun-php-sdk-sts)[ Packagist](https://packagist.org/packages/jimchen/aliyun-php-sdk-sts)[ RSS](/packages/jimchen-aliyun-php-sdk-sts/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (1)

aliyun-php-sdk-sts
==================

[](#aliyun-php-sdk-sts)

阿里云STS SDK

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

[](#requirements)

- PHP 5.5+

Installing
----------

[](#installing)

```
$ composer require "jimchen/aliyun-php-sdk-sts:^2.0"
```

Usage
-----

[](#usage)

```
use JimChen\AliyunSts\Client;
$client = new Client(
        $accessKeyId,
        $accessKeySecret,
        $regionId,
        $clientName,
        $debug,
        $connectionTimeout,
        $timeout,
        $cert,
        $options
);

$result = $client->assumeRole()
    ->client($clientName)
    ->withRoleArn($roleArn)
    ->withRoleSessionName($roleSessionName)
    ->withDurationSeconds($durationSeconds)
    ->request();

$result->isSuccess();
```

### In Laravel

[](#in-laravel)

```
$ php artisan vendor:publish --provider='JimChen\AliyunSts\LaravelProvider'
```

```
$result = app('aliyun.sts')->assumeRole()
    ->client($clientName)
    ->withRoleArn($roleArn)
    ->withRoleSessionName($roleSessionName)
    ->withDurationSeconds($durationSeconds)
    ->request();

$result->isSuccess();
```

> for more api usage, see

License
-------

[](#license)

Apache License 2.0

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

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

Total

4

Last Release

1885d ago

Major Versions

1.x-dev → 2.0.02021-04-26

PHP version history (2 changes)1.0-alphaPHP &gt;=5.3

2.0.0PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/20cebafc45fd6fc5f67bf655119a3b27e9b208e248f2d7f5c98fd6c0a101485b?d=identicon)[jimchen](/maintainers/jimchen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jimchen-aliyun-php-sdk-sts/health.svg)

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

###  Alternatives

[daverandom/libdns

DNS protocol implementation written in pure PHP

16343.9M12](/packages/daverandom-libdns)[jweiland/events2

Events 2 - Create single and recurring events

2165.2k3](/packages/jweiland-events2)[filafly/filament-phosphor-icons

Phosphor icon pack for Filament Icons

1235.4k3](/packages/filafly-filament-phosphor-icons)[postalservice14/php-actuator

PHP port of Spring Actuator which provides an easy health checking capability of services.

1039.3k3](/packages/postalservice14-php-actuator)

PHPackages © 2026

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