OBS storage filesystem for Laravel based on zing/flysystem-obs
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 OBS using Composer:
composer require zing/laravel-flysystem-obs
return [
// ...
'disks' => [
// ...
'obs' => [
'driver' => 'obs',
'root' => '',
'key' => env('OBS_KEY'),
'secret' => env('OBS_SECRET'),
'bucket' => env('OBS_BUCKET'),
'endpoint' => env('OBS_ENDPOINT'),
'is_cname' => env('OBS_IS_CNAME', false),
'security_token' => env('OBS_SECURITY_TOKEN'),
],
]
];
OBS_KEY=
OBS_SECRET=
OBS_BUCKET=
OBS_ENDPOINT=
OBS_IS_CNAME=false
OBS_SECURITY_TOKEN=
Laravel Flysystem OBS is an open-sourced software licensed under the MIT license.