zing / laravel-flysystem-tos
Flysystem Adapter for TOS
Fund package maintenance!
www.paypal.com/paypalme/zingimmick
2.0.0
2024-03-28 16:18 UTC
Requires
- php: ^8.0
- illuminate/filesystem: ^9.30 || ^10.0 || ^11.0
- illuminate/support: ^9.0 || ^10.0 || ^11.0
- zing/flysystem-tos: ^2.0
Requires (Dev)
- league/flysystem-path-prefixing: ^3.3
- league/flysystem-read-only: ^3.3
- mockery/mockery: ^1.4.4
- nunomaduro/larastan: ^1.0 || ^2.0
- orchestra/testbench: ^7.0 || ^8.0 || ^9.0
- phpunit/phpunit: ^9.5 || ^10.0
- zing/coding-standard: ^6.4 || ^7.0
README
TOS storage filesystem for Laravel based on zing/flysystem-tos
Requires
Version Information
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.