xujif/ucloud-ufile-storage

ucloud-ufile-storage for laravel

1.1.1 2018-09-27 06:15 UTC

This package is auto-updated.

Last update: 2024-10-29 04:04:04 UTC


README

base on https://docs.ucloud.cn/api-docs/ufile-api/

Usage:

register the Xujif\UcloudUfileStorage\UfileServiceProvider::class; in your app configuration file:

'providers' => [
    // Other service providers...
    Xujif\UcloudUfileStorage\UfileServiceProvider::class,
],

config

[
    'ucloud-ufile'=>[
        'bucket'=>'xxx',
        'public_key'=>'xxx',
        'secret_key'=>'xxx',
        'suffix'=>'',
        'prefix'=>'',
    ]
]