阿里云OSS laravel storage Filesystem adapter, 打造Laravel最好的OSS存储扩展。
阿里云OSS laravel storage Filesystem adapter, 打造Laravel最好的OSS存储扩展。
Aliyun oss filesystem storage adapter for laravel 5. You can use Aliyun OSS just like laravel Storage as usual.
借鉴了一些优秀的代码,综合各方,同时做了更多优化,将会添加更多完善的接口和插件,打造Laravel最好的OSS Storage扩展
##Installation In order to install AliOSS-storage, just add
"jacobcyl/ali-oss-storage": "^2.1"
to your composer.json. Then run composer install or composer update.
Or you can simply run below command to install:
"composer require jacobcyl/ali-oss-storage:^2.1"
Then in your config/app.php add this line to providers array:
Jacobcyl\AliOSS\AliOssServiceProvider::class,
Add the following in app/filesystems.php:
…
Then set the default driver in app/filesystems.php:
'default' => 'oss',
Ok, well! You are finish to configure. Just feel free to use Aliyun OSS like Storage!
See Larave doc for Storage Or you can learn here:
First you must use Storage facade
use Illuminate\Support\Facades\Storage;
Then You can use all APIs of laravel Storage
…
More development detail see Aliyun OSS DOC
Source code is release under MIT license. Read LICENSE file for more information.
暂无开放 Issues,或尚未同步最近议题。