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

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

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.