PHPackages                             aprsoft/yii2-aliyun-oss - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. aprsoft/yii2-aliyun-oss

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

aprsoft/yii2-aliyun-oss
=======================

yii2-aliyun-oss

1.0.1(9y ago)034BSD-4-ClausePHPPHP &gt;=7.0.0

Since Apr 24Pushed 9y agoCompare

[ Source](https://github.com/AprSoft/yii2-aliyun-oss)[ Packagist](https://packagist.org/packages/aprsoft/yii2-aliyun-oss)[ RSS](/packages/aprsoft-yii2-aliyun-oss/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

yii2-aliyun-oss
===============

[](#yii2-aliyun-oss)

yii2-aliyun-oss

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
composer require --prefer-dist aprsoft/yii2-aliyun-oss "*"

```

or add

```
"aprsoft/yii2-aliyun-oss": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

web.php

```
'aliyunOssImage' => [
    "class" => 'AprSoft\Aliyun\OSS\Image',
    "accessKeyId" => 'xxxxxxxxxxxxxx',
    "accessKeySecret" => 'xxxxxxxx',
    "bucket" => 'xxxxx',
    "endpoint" => 'http://oss-cn-zhangjiakou.aliyuncs.com',
],
'aliyunOssBucket' => [
    "class" => 'AprSoft\Aliyun\OSS\Bucket',
    "accessKeyId" => 'xxxxxxx',
    "accessKeySecret" => 'xxxxxx',
    "endpoint" => 'http://oss-cn-zhangjiakou.aliyuncs.com',
],
```

代码中使用

```
$bucket = Yii::$app->aliyunOssImage;
$back = $bucket->list();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Every ~1 days

Total

2

Last Release

3304d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.1PHP &gt;=7.0.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

aliyunossyii2-extensionyii2aliyunoss

### Embed Badge

![Health badge](/badges/aprsoft-yii2-aliyun-oss/health.svg)

```
[![Health](https://phpackages.com/badges/aprsoft-yii2-aliyun-oss/health.svg)](https://phpackages.com/packages/aprsoft-yii2-aliyun-oss)
```

###  Alternatives

[yiier/yii2-aliyun-oss

Yii2 阿里云 OSS

445.3k2](/packages/yiier-yii2-aliyun-oss)[alphasnow/aliyun-oss-flysystem

Flysystem adapter for the Aliyun storage

14249.2k4](/packages/alphasnow-aliyun-oss-flysystem)

PHPackages © 2026

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