PHPackages                             larva/laravel-flysystem-tos - 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. larva/laravel-flysystem-tos

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

larva/laravel-flysystem-tos
===========================

This is a Flysystem adapter for the volcengine TOS.

1.0.4(1mo ago)0241MITPHPPHP ^8.2.0

Since Aug 19Pushed 1mo agoCompare

[ Source](https://github.com/larva-cool/laravel-flysystem-tos)[ Packagist](https://packagist.org/packages/larva/laravel-flysystem-tos)[ RSS](/packages/larva-laravel-flysystem-tos/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (8)Versions (6)Used By (0)

Laravel-flysystem-tos
=====================

[](#laravel-flysystem-tos)

 [![Stable Version](https://camo.githubusercontent.com/58a1c853506599bf477c23a9c652940a265717c9d6bcf1463f1bf6b978ed20be/68747470733a2f2f706f7365722e707567782e6f72672f6c617276612f6c61726176656c2d666c7973797374656d2d746f732f762f737461626c65)](https://packagist.org/packages/larva/laravel-flysystem-tos) [![Total Downloads](https://camo.githubusercontent.com/392925b7853f75d191e992fa78e83ab5ec35e2da251c9389e75d5a0fec3fa4dd/68747470733a2f2f706f7365722e707567782e6f72672f6c617276612f6c61726176656c2d666c7973797374656d2d746f732f646f776e6c6f616473)](https://packagist.org/packages/larva/laravel-flysystem-tos) [![License](https://camo.githubusercontent.com/892a58d10078990c3d042539e576913c3bfdbfdfadde93d66f1a2ef90082fac0/68747470733a2f2f706f7365722e707567782e6f72672f6c617276612f6c61726176656c2d666c7973797374656d2d746f732f6c6963656e7365)](https://packagist.org/packages/larva/laravel-flysystem-tos)

适用于 Laravel 的火山引擎 TOS 适配器，完整支持火山引擎 TOS 所有方法和操作。

要求
--

[](#要求)

- PHP &gt;= 8.0
- Laravel &gt;= 10.0

安装
--

[](#安装)

```
composer require larva/laravel-flysystem-tos -vv
```

修改配置文件: `config/filesystems.php`

添加一个磁盘配置

```
'tos' => [
    'driver'     => 'tos',
    'access_key' => env('TOS_ACCESS_KEY', 'your key'),
    'access_secret' => env('TOS_ACCESS_SECRET', 'your secret'),
    'bucket' => env('TOS_BUCKET', 'your bucket'),
    'endpoint' => env('TOS_ENDPOINT', 'your endpoint'),//不要用CName,经过测试，官方SDK实现不靠谱
    'url' => env('TOS_URL','cdn url'),//CNAME 写这里，可以是域名绑定或者CDN地址 如 https://www.bbb.com 末尾不要斜杠
    'ssl' => true,//是否开启https
    'throw' => false,
    'report' => false,
],
```

修改默认存储驱动

```
    'default' => 'tos'
```

使用
--

[](#使用)

参见 [Laravel wiki](https://laravel.com/docs/12.x/filesystem)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Every ~54 days

Total

5

Last Release

49d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/534cdb651e8c806590fa945c6b5a18f361613848e890db1349f4a9fbcae1a650?d=identicon)[xutongle](/maintainers/xutongle)

---

Top Contributors

[![xutongle](https://avatars.githubusercontent.com/u/46956076?v=4)](https://github.com/xutongle "xutongle (6 commits)")

---

Tags

tosvolcengineFlysystemLarvatosvolcengine

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/larva-laravel-flysystem-tos/health.svg)

```
[![Health](https://phpackages.com/badges/larva-laravel-flysystem-tos/health.svg)](https://phpackages.com/packages/larva-laravel-flysystem-tos)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

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

Local filesystem adapter for Flysystem.

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

Symfony bundle integrating Flysystem into Symfony applications

40029.5M87](/packages/league-flysystem-bundle)[league/flysystem-sftp-v3

SFTP filesystem adapter for Flysystem.

6129.6M91](/packages/league-flysystem-sftp-v3)[league/flysystem-memory

In-memory filesystem adapter for Flysystem.

8533.6M194](/packages/league-flysystem-memory)[league/flysystem-ftp

FTP filesystem adapter for Flysystem.

2820.8M101](/packages/league-flysystem-ftp)

PHPackages © 2026

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