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

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

huojunhao/aliyun-oss-adapter
============================

 做了稍许改动，自己项目用，要找原项目，请找https://github.com/aobozhang

2.0.0(7y ago)0301MITPHPPHP &gt;=5.4.0

Since Dec 25Pushed 7y ago1 watchersCompare

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

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

Use AliyunOss as Laravel Storage
================================

[](#use-aliyunoss-as-laravel-storage)

[![Latest Stable Version](https://camo.githubusercontent.com/53f2eb74977ab31f2fa491ac80102eccdf2fcd22cd66e8a1a6fb469a9256b0bb/68747470733a2f2f706f7365722e707567782e6f72672f616f626f7a68616e672f616c6979756e2d6f73732d616461707465722f762f737461626c65)](https://packagist.org/packages/aobozhang/aliyun-oss-adapter) [![Total Downloads](https://camo.githubusercontent.com/264f158309fdcfb5103afd3fb26800dd36fbdf70f803dd08d69a06f9318687ad/68747470733a2f2f706f7365722e707567782e6f72672f616f626f7a68616e672f616c6979756e2d6f73732d616461707465722f646f776e6c6f616473)](https://packagist.org/packages/aobozhang/aliyun-oss-adapter) [![Latest Unstable Version](https://camo.githubusercontent.com/3497b5ff029f6acb7380e2da6095ff0edd10197d60bd5b302b6f80d5c041246f/68747470733a2f2f706f7365722e707567782e6f72672f616f626f7a68616e672f616c6979756e2d6f73732d616461707465722f762f756e737461626c65)](https://packagist.org/packages/aobozhang/aliyun-oss-adapter) [![License](https://camo.githubusercontent.com/6c02d1927bf703f2ca951db6e65fe79b8a0858304980676538596128a305f55c/68747470733a2f2f706f7365722e707567782e6f72672f616f626f7a68616e672f616c6979756e2d6f73732d616461707465722f6c6963656e7365)](https://packagist.org/packages/aobozhang/aliyun-oss-adapter)

Aliyun oss driver for Laravel5.0+, also support flysystem adapter.

### inspire by [orzcc/aliyun-oss](https://github.com/orzcc/aliyun-oss)

[](#inspire-by-orzccaliyun-oss)

Usage
-----

[](#usage)

```
use Storage;

//...

Strorage::[everything in doc]
```

> more infomation 更多信息:
>
> [Laravel wiki](https://laravel.com/docs/5.2/filesystem)
>
> [Aobo's wiki](https://github.com/aobozhang/aliyun-oss-adapter/wiki)

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

[](#installation)

This package can be installed through Composer.

```
composer require aobozhang/aliyun-oss-adapter
```

Configuration
-------------

[](#configuration)

This service provider must be registered.

```
// config/app.php

'providers' => [
    ...,
    Aobo\OSS\AliyunOssFilesystemServiceProvider::class,
];
```

add config:

```
// config/filesystem.php.

        'oss' => [
            'driver'     => 'oss',
            'access_id'  =>  env('OSS_ACCESS_ID','your id'),
            'access_key' =>  env('OSS_ACCESS_KEY','your key'),
            'bucket'     =>  env('OSS_BUCKET','your bucket'),
            'endpoint'   =>  env('OSS_ENDPOINT','your endpoint'),
            		// eg. oss-cn-beijing.aliyuncs.com !!without 'http://' in OSS SDK 2.0+
        ],
```

change default to oss

```
'default' => 'oss';
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.3% 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 ~227 days

Total

5

Last Release

2884d ago

Major Versions

1.0.x-dev → 2.0.02018-06-19

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

1.0.2PHP &gt;=5.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a8b4ee1493853c61a7cc917c5380a06e7009083ef48325dea553f3368362e25?d=identicon)[huo376230434](/maintainers/huo376230434)

---

Top Contributors

[![aobozhang](https://avatars.githubusercontent.com/u/9246402?v=4)](https://github.com/aobozhang "aobozhang (28 commits)")[![huo376230434](https://avatars.githubusercontent.com/u/19550875?v=4)](https://github.com/huo376230434 "huo376230434 (2 commits)")[![loktarjugg](https://avatars.githubusercontent.com/u/3970144?v=4)](https://github.com/loktarjugg "loktarjugg (1 commits)")

### Embed Badge

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

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

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[iidestiny/flysystem-oss

Flysystem adapter for the Oss storage.

95607.5k26](/packages/iidestiny-flysystem-oss)[yii2-starter-kit/yii2-file-kit

Yii2 file upload and storage kit

151216.8k6](/packages/yii2-starter-kit-yii2-file-kit)[xxtime/flysystem-aliyun-oss

AliYun OSS adapter for flysystem. Support PHP8. aliyuncs/oss-sdk-php ~2.6

51505.3k28](/packages/xxtime-flysystem-aliyun-oss)

PHPackages © 2026

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