jekhy/ucloud-ufile-storage

ucloud-ufile-storage for laravel

Installs: 2 488

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 7

pkg:composer/jekhy/ucloud-ufile-storage

1.2.2 2020-06-10 02:14 UTC

This package is auto-updated.

Last update: 2025-10-10 15:03:26 UTC


README

Base on:

Usage:

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