zing/laravel-flysystem-tos

Flysystem Adapter for TOS
2,081 2
Install
composer require zing/laravel-flysystem-tos
Latest Version:2.2.0
PHP:^8.0
License:MIT
Last Updated:Jun 19, 2026
Links: GitHub  ·  Packagist
Maintainer: zingimmick

Laravel Flysystem TOS

TOS storage filesystem for Laravel based on zing/flysystem-tos

Build Status Code Coverage Latest Stable Version Total Downloads Latest Unstable Version License

Requires

Version Information

Version Illuminate PHP Version Status
2.x 9.x >= 8.0 Active support :rocket:
1.x 6.x - 8.x >= 7.2 Active support

Require Laravel Flysystem TOS using Composer:

composer require zing/laravel-flysystem-tos

Configuration

return [
    // ...
    'disks' => [
        // ...
        'tos' => [
            'driver' => 'tos',
            'root' => '',
            'key' => env('TOS_ACCESS_KEY_ID'),
            'secret' => env('TOS_ACCESS_KEY_SECRET'),
            'bucket' => env('TOS_BUCKET'),
            'endpoint' => env('TOS_ENDPOINT'),
            'is_cname' => env('TOS_IS_CNAME', false),
            'security_token' => env('TOS_SECURITY_TOKEN'),
        ],
    ]
];

Environment

TOS_ACCESS_KEY_ID=
TOS_ACCESS_KEY_SECRET=
TOS_BUCKET=
TOS_ENDPOINT=
TOS_IS_CNAME=false
TOS_SECURITY_TOKEN=

License

Laravel Flysystem TOS is an open-sourced software licensed under the MIT license.

Related Packages

sykez/laravel-storage-copy

Laravel Artisan command for copying files between Laravel Filesystem/Storage dis...

6,226 7
jiangyunan/flysystem

Laravel 文件管理的OSS扩展

12 1

Version History

Version Released PHP Laravel License
2.2.0 ^8.0 ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0 MIT
2.1.0 ^8.0 ^9.0 || ^10.0 || ^11.0 || ^12.0 MIT
2.0.1 ^8.0 ^9.0 || ^10.0 || ^11.0 MIT
2.0.0 ^8.0 ^9.0 || ^10.0 || ^11.0 MIT
1.0.0 ^7.2 || ^8.0 ^6.0 || ^7.0 || ^8.0 MIT