LaravelPackages.net
Acme Inc.
Toggle sidebar
jekhy/ucloud-ufile-storage

ucloud-ufile-storage for laravel

2.972
0
1.2.2
About jekhy/ucloud-ufile-storage

jekhy/ucloud-ufile-storage is a Laravel package for ucloud-ufile-storage for laravel. It currently has 0 GitHub stars and 2.972 downloads on Packagist (latest version 1.2.2). Install it with composer require jekhy/ucloud-ufile-storage. Discover more Laravel packages by jekhy or browse all Laravel packages to compare alternatives.

Last updated

Ucloud ufile storage for Laravel

Base on:

  • https://docs.ucloud.cn/api/ufile-api/
  • https://github.com/xujif/ucloud-ufile-sdk
  • https://github.com/xujif/ucloud-ufile-storage

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

Star History Chart