zing/laravel-flysystem-obs

Flysystem Adapter for OBS

2.7.0 2024-03-18 14:31 UTC

README

OBS storage filesystem for Laravel based on zing/flysystem-obs

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

Requires

Version Information

Require Laravel Flysystem OBS using Composer:

composer require zing/laravel-flysystem-obs

Configuration

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'),
        ],
    ]
];

Environment

OBS_KEY=
OBS_SECRET=
OBS_BUCKET=
OBS_ENDPOINT=
OBS_IS_CNAME=false
OBS_SECURITY_TOKEN=

License

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