| Package Data | |
|---|---|
| Maintainer Username: | hlf513 |
| Maintainer Contact: | zuitu@foxmail.com (zuitu) |
| Package Create Date: | 2017-07-29 |
| Package Last Update: | 2017-07-29 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-04 15:06:30 |
| Package Statistics | |
|---|---|
| Total Downloads: | 524 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
ucloud ufile storage for lumen base on https://docs.ucloud.cn/api/ufile-api/index
config/filesystems.php
'disks' => [
'ufile' => [
'driver' => 'ucloud-ufile',
'bucket' => env('UFILE_BUCKET'),
'suffix' => env('UFILE_SUFFIX'), //.ufile.ucloud.cn
'public_key'=> env('UFILE_ACCESS_KEY'), //AccessKey
'secret_key'=> env('UFILE_SECRET_KEY'), //SecretKey
]
],
demo
$file = Storage::disk('public')->get('file.txt');
Storage::disk('ufile')->put('file.name', $file);