xujif / ucloud-ufile-storage
ucloud-ufile-storage for laravel
Installs: 1 365
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 7
Open Issues: 1
Requires
- php: >=5.3.0
- illuminate/support: 5.*
- league/flysystem: ^1.0
- xujif/ucloud-ufile-sdk: ~1.0
README
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'=>'',
]
]