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

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

aoeng/laravel-aliyun-oss
========================

aliyun oss for laravel

1.0.1(5y ago)036MITPHPPHP &gt;=7.4.0

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aoeng/laravel-aliyun-oss)[ Packagist](https://packagist.org/packages/aoeng/laravel-aliyun-oss)[ RSS](/packages/aoeng-laravel-aliyun-oss/feed)WikiDiscussions master Synced 3w ago

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

阿里云OSS的Laravel适配
================

[](#阿里云oss的laravel适配)

安装
--

[](#安装)

```
composer require  aoeng/laravel-aliyun-oss
```

配置文件 `config/filesystems.php`

```
[
    'disks' => [
    ...
            'oss' => [
                'driver'       => 'oss',
                'access_id'    => env('ALI_OSS_ACCESS_ID', ''),
                'access_key'   => env('ALI_OSS_ACCESS_KEY', ''),
                'bucket'       => env('ALI_OSS_BUCKET', ''),
                'endpoint'     => env('ALI_OSS_ENDPOINT', ''), // OSS 外网节点或自定义外部域名
                //'endpoint_internal' => '', // v2.0.4 新增配置属性，如果为空，则默认使用 endpoint 配置(由于内网上传有点小问题未解决，请大家暂时不要使用内网节点上传，正在与阿里技术沟通中)
                'cdnDomain'    => env('ALI_OSS_CDN_DOMAIN', ''), // 如果isCName为true, getUrl会判断cdnDomain是否设定来决定返回的url，如果cdnDomain未设置，则使用endpoint来生成url，否则使用cdn
                'ssl'          => env('ALI_OSS_SSL', false), // true to use 'https://' and false to use 'http://'. default is false,
                'isCName'      => env('ALI_OSS_IS_CNAME', false), // 是否使用自定义域名,true: 则Storage.url()会使用自定义的cdn或域名生成文件url， false: 则使用外部节点生成url
                'debug'        => env('ALI_OSS_DEBUG', false),
                'sts_role_arn' => env('ALI_OSS_STS_ROLE_ARN', ''),//用于创建临时权限
                'prefix'       => env('ALI_OSS_PREFIX', ''),

            ],
    ]
 ];

```

参考
--

[](#参考)

[jacobcyl/ali-oss-storage](https://github.com/jacobcyl/Aliyun-oss-storage)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1949d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/232ecb94ec5cc972c1b573db64a1e20e0656fe3a182ce540e99c1d9dd31f46e9?d=identicon)[aoeng](/maintainers/aoeng)

---

Top Contributors

[![aoeng](https://avatars.githubusercontent.com/u/23565714?v=4)](https://github.com/aoeng "aoeng (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k7](/packages/statamic-rad-pack-runway)[rahulhaque/laravel-filepond

Use FilePond the Laravel way

264135.3k2](/packages/rahulhaque-laravel-filepond)[api-platform/laravel

API Platform support for Laravel

58171.5k14](/packages/api-platform-laravel)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21318.6k3](/packages/ecotone-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3416.9k](/packages/duncanmcclean-statamic-cargo)[slimani/filament-media-manager

A media manager plugin for Filament.

126.9k](/packages/slimani-filament-media-manager)

PHPackages © 2026

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