Download the PHP package baicaiit/laravel-filesystem-oss without Composer

On this page you can find all versions of the php package baicaiit/laravel-filesystem-oss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-filesystem-oss

在 iiDestiny/laravel-filesystem-oss 基础上进行修改

laravel filesystem oss

AliOss storage for Laravel based on iidestiny/flysystem-oss.

扩展包要求

安装命令

配置

  1. 将服务提供者 Baicaiit\LaravelFilesystemOss\OssStorageServiceProvider::class 注册到 config/app.php 文件:

Laravel 5.5+ 会自动注册服务提供者可过滤

  1. config/filesystems.php 配置文件中添加你的新驱动

基本使用

以上方法可在 laravel-filesystem-doc 查阅

进阶使用

获取官方完整 OSS 处理能力

阿里官方 SDK 可能处理了更多的事情,如果你想获取完整的功能可通过此插件获取, 然后你将拥有完整的 oss 处理能力

更多功能请查看官方 SDK 手册

前端 web 直传配置

oss 直传有三种方式,当前扩展包使用的是最完整的 服务端签名直传并设置上传回调 方式,扩展包只生成前端页面上传所需的签名参数,前端上传实现可参考 官方文档中的实例 或自行搜索

直传回调验签

当设置了直传回调后,可以通过验签插件,验证并获取 oss 传回的数据 文档

注意事项:

直传回调验签后返回给前端的数据「包括自定义参数」,例如

这其实要看你回调通知方法具体怎么返回,如果直接按照文档给的方法返回是这个样子

前端直传组件分享「vue + element」

依赖的核心包

参考


All versions of laravel-filesystem-oss with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0|^8.0
iidestiny/flysystem-oss Version ~2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package baicaiit/laravel-filesystem-oss contains the following files

Loading the files please wait ....