PHPackages                             liuwave/think-filesystem-driver-kodo - 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. liuwave/think-filesystem-driver-kodo

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

liuwave/think-filesystem-driver-kodo
====================================

这是一个基于七牛云对象存储的thinkphp6.0 Filesystem驱动

v0.0.1(5y ago)18MITPHPPHP &gt;=7.2.0

Since Jul 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/liuwave/think-filesystem-driver-kodo)[ Packagist](https://packagist.org/packages/liuwave/think-filesystem-driver-kodo)[ Docs](https://github.com/liuwave/think-filesystem-driver-kodo)[ RSS](/packages/liuwave-think-filesystem-driver-kodo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

think-filesystem-driver-kodo
============================

[](#think-filesystem-driver-kodo)

这是一个基于七牛云对象存储的thinkphp6.0 Filesystem驱动。

安装
--

[](#安装)

```
    composer require liuwave/think-filesystem-driver-kodo
```

在`config/filesystem.php`中添加配置:

```
    'kodo' => [
      'type'            => \liuwave\filesystem\driver\Kodo::class ,
      'accessKey' => '******',
      'secretKey' => '******',
      'bucket'    => 'bucket',
      'url'       => '',//不要斜杠结尾，URL地址域名
    ],

```

使用
--

[](#使用)

```
//默认$file为单文件。$file为多文件时file为数组，需要进行遍历处理
$file=\request()->file('file');
$filesystem     = \think\facade\Filesystem::disk('kodo');
$saveName       = $filesystem->putFile('/path/to/save/file', $file, 'md5');
$saveName       = str_replace('\\', '/', $saveName);
$fullName = \think\facade\Filesystem::getDiskConfig('kodo', 'url').'/'.$saveName;
```

授权
--

[](#授权)

MIT

参考
--

[](#参考)

- thinkphp
- [七牛云对象存储kodo](https://developer.qiniu.com/kodo)
- [liz/flysystem-qiniu](https://github.com/liz/flysystem-qiniu)

更多
--

[](#更多)

- [阿里云liuwave/think-filesystem-driver-oss](https://github.com/liuwave/think-filesystem-driver-oss)
- [腾讯云liuwave/think-filesystem-driver-cos](https://github.com/liuwave/think-filesystem-driver-cos)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

2136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea0000cba67ced68f357012faa62e87dacfcf16716cf1a0bef43958da234ebb5?d=identicon)[liuwave](/maintainers/liuwave)

---

Top Contributors

[![liuwave](https://avatars.githubusercontent.com/u/6533126?v=4)](https://github.com/liuwave "liuwave (3 commits)")

---

Tags

filesystemkodothink-filesystem-driver-kodo

### Embed Badge

![Health badge](/badges/liuwave-think-filesystem-driver-kodo/health.svg)

```
[![Health](https://phpackages.com/badges/liuwave-think-filesystem-driver-kodo/health.svg)](https://phpackages.com/packages/liuwave-think-filesystem-driver-kodo)
```

###  Alternatives

[league/flysystem

File storage abstraction for PHP

13.6k639.1M2.2k](/packages/league-flysystem)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[knplabs/knp-gaufrette-bundle

Allows to easily use the Gaufrette library in a Symfony project

72528.6M91](/packages/knplabs-knp-gaufrette-bundle)[league/flysystem-local

Local filesystem adapter for Flysystem.

226231.8M39](/packages/league-flysystem-local)[oneup/flysystem-bundle

Integrates Flysystem filesystem abstraction library to your Symfony project.

64422.9M66](/packages/oneup-flysystem-bundle)

PHPackages © 2026

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