Download the PHP package ziyeziye/ali-oss-storage without Composer
On this page you can find all versions of the php package ziyeziye/ali-oss-storage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ziyeziye/ali-oss-storage
More information about ziyeziye/ali-oss-storage
Files in ziyeziye/ali-oss-storage
Package ali-oss-storage
Short Description aliyun oss filesystem storage for laravel 5+
License MIT
Homepage https://github.com/summergeorge/Aliyun-oss-storage
Informations about the package ali-oss-storage
Aliyun-oss-storage for Laravel 5+
Aliyun oss filesystem storage adapter for laravel 5. You can use Aliyun OSS just like laravel Storage as usual.
借鉴了一些优秀的代码,综合各方,同时做了更多优化,将会添加更多完善的接口和插件,打造Laravel最好的OSS Storage扩展
如果您对本项目对您有帮助且愿意花时间一起维护,欢迎通过Issues给我留言,我将把您添加为协作者。
Inspired By
Require
- Laravel 5+
- cURL extension
之前 fork 的 jacobcyl/Aliyun-oss-storage ,自2.1.1版本开始,增加新功能,更改 composer 包名称为:summergeorge/ali-oss-storage
Installation
In order to install AliOSS-storage, just add
"ziyeziye/ali-oss-storage": "dev-master"
to your composer.json. Then run composer install
or composer update
.
Or you can simply run below command to install:
"composer require ziyeziye/ali-oss-storage:dev-master"
Then in your config/app.php
add this line to providers array:
Configuration
Add the following in app/filesystems.php:
Then set the default driver in app/filesystems.php:
Ok, well! You are finish to configure. Just feel free to use Aliyun OSS like Storage!
Usage
See Larave doc for Storage Or you can learn here:
First you must use Storage facade
Then You can use all APIs of laravel Storage
Documentation
More development detail see Aliyun OSS DOC
License
Source code is release under MIT license. Read LICENSE file for more information.