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 8y 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 today

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 46% 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.2M118](/packages/knplabs-gaufrette)[aws/aws-sdk-php-laravel

A simple Laravel 6/7/8/9/10/11/12 service provider for including the AWS SDK for PHP.

1.7k34.8M70](/packages/aws-aws-sdk-php-laravel)[vich/uploader-bundle

Ease file uploads attached to entities

1.9k25.4M107](/packages/vich-uploader-bundle)[spatie/simple-excel

Read and write simple Excel and CSV files

1.3k9.4M40](/packages/spatie-simple-excel)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

73628.2M85](/packages/knplabs-knp-gaufrette-bundle)[google/cloud-storage

Cloud Storage Client for PHP

34388.1M95](/packages/google-cloud-storage)

PHPackages © 2026

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