PHPackages                             lokielse/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. lokielse/aliyun-oss

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

lokielse/aliyun-oss
===================

Aliyun OSS SDK for PHP

v2.1.1(10y ago)1161MITPHPPHP &gt;=5.3

Since Nov 28Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lokielse/php-aliyun-oss)[ Packagist](https://packagist.org/packages/lokielse/aliyun-oss)[ Docs](https://github.com/lokielse/aliyun-oss-php-sdk)[ RSS](/packages/lokielse-aliyun-oss/feed)WikiDiscussions master Synced today

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

Aliyun OSS SDK for PHP
======================

[](#aliyun-oss-sdk-for-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/dbb92700da57b426cfa77e682322eba2553df851feaf3e155443057def979661/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6b69656c73652f616c6979756e2d6f73732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-oss)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/30f45cc15f4c089dd1b4a222ec3ed8e17107a70976edcab6a9b3ddfdccf49fe9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6b69656c73652f616c6979756e2d6f73732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lokielse/aliyun-oss)

Aliyun OSS SDK for PHP

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

[](#installation)

```
$ composer require lokielse/aliyun-oss
```

Usage
-----

[](#usage)

```
$accessKeyId = ""; ;
$accessKeySecret = "";
$endpoint = "http://oss-cn-hangzhou.aliyuncs.com";

$client = new OSSClient($accessKeyId, $accessKeySecret, $endpoint);

$bucket = "";
$object = "doc/dest_demo_01.txt";
$content = "Hello, OSS!";

$client->putObject($bucket, $object, $content);
```

### Testing

[](#testing)

```
composer test

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 55.2% 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 ~6 days

Total

5

Last Release

3845d ago

### Community

Maintainers

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

---

Top Contributors

[![rockuw](https://avatars.githubusercontent.com/u/1209779?v=4)](https://github.com/rockuw "rockuw (16 commits)")[![lokielse](https://avatars.githubusercontent.com/u/1573211?v=4)](https://github.com/lokielse "lokielse (7 commits)")[![hefei1986](https://avatars.githubusercontent.com/u/1287334?v=4)](https://github.com/hefei1986 "hefei1986 (5 commits)")[![xuxucode](https://avatars.githubusercontent.com/u/8274162?v=4)](https://github.com/xuxucode "xuxucode (1 commits)")

---

Tags

phpsdkaliyunoss

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[alphasnow/aliyun-oss-flysystem

Flysystem adapter for the Aliyun storage

14270.2k8](/packages/alphasnow-aliyun-oss-flysystem)

PHPackages © 2026

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