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

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

ifelsend/aliyun-oss-adapter
===========================

Use Aliyun oss as Storage for Laravel 5.0+

1.0.3(7y ago)07MITPHPPHP &gt;=5.4.0

Since Dec 25Pushed 7y agoCompare

[ Source](https://github.com/ifelsend/aliyun-oss-adapter)[ Packagist](https://packagist.org/packages/ifelsend/aliyun-oss-adapter)[ Docs](https://github.com/ifelsend)[ RSS](/packages/ifelsend-aliyun-oss-adapter/feed)WikiDiscussions master Synced 2mo ago

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

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90.6% 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 ~273 days

Total

5

Last Release

2699d ago

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/ab5d5397b92b35fc179fb24fd22e04fb0ce7ab59457d6240a78c2db52840ca99?d=identicon)[naodai](/maintainers/naodai)

---

Top Contributors

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

---

Tags

laravelstoragealiyunoss

### Embed Badge

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

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

###  Alternatives

[jacobcyl/ali-oss-storage

aliyun oss filesystem storage for laravel 5+

523566.2k7](/packages/jacobcyl-ali-oss-storage)[luoyy/ali-oss-storage

aliyun oss filesystem storage for laravel 9+

1529.9k1](/packages/luoyy-ali-oss-storage)[aobozhang/aliyun-oss-adapter

Use Aliyun oss as Storage for Laravel 5.0+

141.0k](/packages/aobozhang-aliyun-oss-adapter)

PHPackages © 2026

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