PHPackages                             superman2014/filesystem-aliyun - 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. superman2014/filesystem-aliyun

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

superman2014/filesystem-aliyun
==============================

aliyun oss filesystem storage for laravel 5+

34.3k↓100%3PHP

Since Mar 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/superman2014/laravel-filesystem-aliyun)[ Packagist](https://packagist.org/packages/superman2014/filesystem-aliyun)[ RSS](/packages/superman2014-filesystem-aliyun/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Netease
=======

[](#netease)

Step1: 安装, `composer require "superman2014/filesystem-aliyun:1.0.x@dev"`

Step2: 注册 `Superman2014\Filesystem\Aliyun\AliyunServiceProvider` 到`config/app.php` 配置文件:

```
'providers' => [
    // Other service providers...

    Superman2014\Filesystem\Aliyun\AliyunServiceProvider::class,
],

```

Step3: 打开`config/filesystems.php`

配置文件内容如下:

```

    'cloud' => 'aliyun',

    /*
    |--------------------------------------------------------------------------
    | Filesystem Disks
    |--------------------------------------------------------------------------
    |
    | Here you may configure as many filesystem "disks" as you wish, and you
    | may even configure multiple disks of the same driver. Defaults have
    | been setup for each driver as an example of the required options.
    |
    | Supported Drivers: "local", "ftp", "s3", "rackspace"
    |
    */

    'disks' => [

        'local' => [
            'driver' => 'local',
            'root' => storage_path('app'),
        ],

        'public' => [
            'driver' => 'local',
            'root' => storage_path('app/public'),
            'url' => env('APP_URL').'/storage',
            'visibility' => 'public',
        ],

        's3' => [
            'driver' => 's3',
            'key' => env('AWS_KEY'),
            'secret' => env('AWS_SECRET'),
            'region' => env('AWS_REGION'),
            'bucket' => env('AWS_BUCKET'),
        ],

        'aliyun' => [
            'driver'        => 'aliyun',
            // Your Aliyun OSS AccessKey
            'access_key'     => env('ALIYUN_OSS_ACCESS_KEY'),
            // Your Aliyun OSS AccessSecret
            'access_secret'    => env('ALIYUN_OSS_ACCESS_SECRET'),
            'bucket'        => env('ALIYUN_OSS_BUCKET'),
            // The endpoint of OSS, E.g: oss-cn-hangzhou.aliyuncs.com> OR your custom domain, E.g:img.abc.com',
            'endpoint'      => env('ALIYUN_OSS_ENDPOINT'),
            // true if use custom domain as endpoint or false
            'is_cname'       => env('ALIYUN_OSS_IS_CNAME'),
            //
            'debug'         => env('ALIYUN_OSS_DEBUG'),
        ],

    ],

];

```

Step4: 代码中使用

参考：[Filesystem / Cloud Storage](https://laravel.com/docs/5.4/filesystem)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a68a74429ce4433a1f02099626fbb37e81597ba1dc9a565637c8076fca5e2e7?d=identicon)[liujingyu](/maintainers/liujingyu)

---

Top Contributors

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

---

Tags

adapteraliyunfilesystemlaraveloss

### Embed Badge

![Health badge](/badges/superman2014-filesystem-aliyun/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M61](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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