Downloads
Stars
Version
Base on:
register the Jekhy\UcloudUfileStorage\UfileServiceProvider::class;
in your app configuration file:
'providers' => [
// Other service providers...
Jekhy\UcloudUfileStorage\UfileServiceProvider::class,
],
config/filesystems.php
'disks' => [
'yourDiskName'=>[
'driver' => 'ucloud-ufile',
'bucket'=>'xxx',
'public_key'=>'xxx',
'secret_key'=>'xxx',
'suffix'=>'.ufile.ucloud.cn',
'prefix'=>'',
],
]