zing / laravel-flysystem-oss
Flysystem Adapter for OSS
Fund package maintenance!
www.paypal.com/paypalme/zingimmick
2.7.0
2024-03-18 14:27 UTC
Requires
- php: ^8.0
- illuminate/filesystem: ^9.30 || ^10.0 || ^11.0
- illuminate/support: ^9.0 || ^10.0 || ^11.0
- zing/flysystem-oss: ^2.0 || ^3.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
OSS storage filesystem for Laravel based on zing/flysystem-oss
Requires
Version Information
Require Laravel Flysystem OSS using Composer:
composer require zing/laravel-flysystem-oss
Configuration
return [ // ... 'disks' => [ // ... 'oss' => [ 'driver' => 'oss', 'root' => '', 'access_key_id' => env('OSS_ACCESS_KEY_ID'), 'access_key_secret' => env('OSS_ACCESS_KEY_SECRET'), 'bucket' => env('OSS_BUCKET'), 'endpoint' => env('OSS_ENDPOINT'), 'is_cname' => env('OSS_IS_CNAME', false), 'security_token' => env('OSS_SECURITY_TOKEN'), ], ] ];
Environment
OSS_ACCESS_KEY_ID= OSS_ACCESS_KEY_SECRET= OSS_BUCKET= OSS_ENDPOINT= OSS_IS_CNAME=false OSS_SECURITY_TOKEN=
License
Laravel Flysystem OSS is an open-sourced software licensed under the MIT license.