Download the PHP package jacksunny/ossfs without Composer
On this page you can find all versions of the php package jacksunny/ossfs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jacksunny/ossfs
More information about jacksunny/ossfs
Files in jacksunny/ossfs
Download jacksunny/ossfs
More information about jacksunny/ossfs
Files in jacksunny/ossfs
Vendor jacksunny
Package ossfs
Short Description aliyun oss adapter for laravel file system 5.2+
License
Package ossfs
Short Description aliyun oss adapter for laravel file system 5.2+
License
Please rate this library. Is it a good library?
Informations about the package ossfs
ossfs
laravel file system plugin based-on aliyun oss,you may use oss as normal laravel file system mode
-
install package composer require "jacksunny/ossfs":"dev-master"
- append the code below to array "disks" in the file config/filesystems.php
'oss' => [ 'driver' => 'oss', //using innernal network to transfer files,suggest external network for testing,internal network for running //'internal'=>true, 'internal'=>false, 'key' => env('OSS_KEY','APPKEYAPPKEYAPPK'), 'secret' => env('OSS_SECRET','APPSECRETAPPSECRETAPPSECRETAPP'), 'city'=>'上海', 'networkType'=>'经典网络', 'bucket' => env('OSS_BUCKET','mybucketname'), ], - now you may use laravel file system to put/get files on aliyun oss
$filename = time().""; $content = "Contents"; $result = Storage::disk('oss')->put($filename, $content); or $result = Storage::disk('oss')->put($filename, $request->file('logo')->getRealPath());
All versions of ossfs with dependencies
PHP Build Version
Package Version
The package jacksunny/ossfs contains the following files
Loading the files please wait ...