TOS storage filesystem for Laravel based on zing/flysystem-tos
Requires
Version | Illuminate | PHP Version | Status |
---|---|---|---|
2.x | 9.x | >= 8.0 | Active support 🚀 |
1.x | 6.x - 8.x | >= 7.2 | Active support |
Require Laravel Flysystem TOS using Composer:
composer require zing/laravel-flysystem-tos
return [
// ...
'disks' => [
// ...
'tos' => [
'driver' => 'tos',
'root' => '',
'access_key_id' => env('TOS_ACCESS_KEY_ID'),
'access_key_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'),
],
]
];
TOS_ACCESS_KEY_ID=
TOS_ACCESS_KEY_SECRET=
TOS_BUCKET=
TOS_ENDPOINT=
TOS_IS_CNAME=false
TOS_SECURITY_TOKEN=
Laravel Flysystem TOS is an open-sourced software licensed under the MIT license.