xujif / ucloud-ufile-storage by xujif

ucloud-ufile-storage for laravel
1,365
4
3
Package Data
Maintainer Username: xujif
Maintainer Contact: i@xujif.com (xujif)
Package Create Date: 2015-11-11
Package Last Update: 2018-09-27
Language: PHP
License: MIT
Last Refreshed: 2024-11-22 03:09:49
Package Statistics
Total Downloads: 1,365
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 3
Total Forks: 7
Total Open Issues: 1

Ucloud ufile storage for laravel

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'=>'',
    ]
]