PHPackages                             thans/thinkphp-filesystem-cloud - 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. thans/thinkphp-filesystem-cloud

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

thans/thinkphp-filesystem-cloud
===============================

thinkphp6.0 filesystem,include Aliyun and Qiniu

v1.0.2(6y ago)2237.8k↑133.3%15[4 issues](https://github.com/QThans/thinkphp-filesystem-cloud/issues)3MITPHPPHP &gt;=7.1.0

Since Aug 22Pushed 5y ago3 watchersCompare

[ Source](https://github.com/QThans/thinkphp-filesystem-cloud)[ Packagist](https://packagist.org/packages/thans/thinkphp-filesystem-cloud)[ RSS](/packages/thans-thinkphp-filesystem-cloud/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (5)Used By (3)

thinkphp-filesystem-cloud

[](#thinkphp-filesystem-cloud)

 thinkphp6.0 的文件系统扩展包，支持上传阿里云OSS和七牛和腾讯云COS

包含
--

[](#包含)

1. php &gt;= 7.1
2. thinkphp &gt;=6.0.0

支持
--

[](#支持)

1. 阿里云
2. 七牛云
3. 腾讯云

计划
--

[](#计划)

1. 支持华为云

安装
--

[](#安装)

第一步：

```
$ composer require thans/thinkphp-filesystem-cloud
```

第二步： 在config/filesystem.php中添加配置

```
'aliyun' => [
    'type'         => 'aliyun',
    'accessId'     => '******',
    'accessSecret' => '******',
    'bucket'       => 'bucket',
    'endpoint'     => 'oss-cn-hongkong.aliyuncs.com',
    'url'          => 'http://oss-cn-hongkong.aliyuncs.com',//不要斜杠结尾，此处为URL地址域名。
],
'qiniu'  => [
    'type'      => 'qiniu',
    'accessKey' => '******',
    'secretKey' => '******',
    'bucket'    => 'bucket',
    'url'       => '',//不要斜杠结尾，此处为URL地址域名。
],
'qcloud' => [
    'type'       => 'qcloud',
    'region'      => '***', //bucket 所属区域 英文
    'appId'      => '***', // 域名中数字部分
    'secretId'   => '***',
    'secretKey'  => '***',
    'bucket'          => '***',
    'timeout'         => 60,
    'connect_timeout' => 60,
    'cdn'             => '您的 CDN 域名',
    'scheme'          => 'https',
    'read_from_cdn'   => false,
]

```

第三步： 开始使用。 请参考thinkphp文档 文档地址：[https://www.kancloud.cn/manual/thinkphp6\_0/1037639 ](https://www.kancloud.cn/manual/thinkphp6_0/1037639)

授权
--

[](#授权)

MIT

感谢
--

[](#感谢)

1. thinkphp
2. xxtime/flysystem-aliyun-oss
3. liz/flysystem-qiniu
4. league/flysystem
5. overtrue/flysystem-cos

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance16

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.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 ~49 days

Total

3

Last Release

2363d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2718423?v=4)[Tore Hanssen](/maintainers/thans)[@thans](https://github.com/thans)

---

Top Contributors

[![QThans](https://avatars.githubusercontent.com/u/18275400?v=4)](https://github.com/QThans "QThans (13 commits)")[![lihq1403](https://avatars.githubusercontent.com/u/25847339?v=4)](https://github.com/lihq1403 "lihq1403 (2 commits)")[![yuanzhihai](https://avatars.githubusercontent.com/u/15060466?v=4)](https://github.com/yuanzhihai "yuanzhihai (1 commits)")

### Embed Badge

![Health badge](/badges/thans-thinkphp-filesystem-cloud/health.svg)

```
[![Health](https://phpackages.com/badges/thans-thinkphp-filesystem-cloud/health.svg)](https://phpackages.com/packages/thans-thinkphp-filesystem-cloud)
```

###  Alternatives

[overtrue/laravel-filesystem-cos

A Cos storage filesystem for Laravel.

92128.4k7](/packages/overtrue-laravel-filesystem-cos)[yzh52521/think-filesystem

thinkphp6.1 for filesystem,include Aliyun and Qiniu COS OBS

113.8k](/packages/yzh52521-think-filesystem)

PHPackages © 2026

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