Download the PHP package quansitech/qscmf-formitem-aliyun-oss without Composer

On this page you can find all versions of the php package quansitech/qscmf-formitem-aliyun-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 qscmf-formitem-aliyun-oss

qscmf-formitem-aliyun-oss

上传文件至阿里云OSS组件

安装

如何使用

Ps. 其中ossmeta支持设置变量替换,如:希望下载oss文件时,可以使用原来的文件名称进行下载(上传到oss后真实文件名会变成随机码), 在filename=后面加上"\_title__",程序会自动替换成真实的文件名, 代码如下

console $(selector).ossuploader(option); //selector 为隐藏域

option: { url: //string require 上传图片的地址 multi_selection: //boolean optional 是否多选 oss: //boolean optional 是否启用oss canvasOption:{ //object optional 配置getCroppedCanvas //修改裁剪后图片的背景色 为黑色 fillColor: '#333', } //get more information: https://github.com/fengyuanchen/cropperjs

crop:{              //object optional cropper配置,若存在此项,则裁剪图片,更多配置请参考cropper.js官网
    aspectRatio: 120/120,
    viewMode: 1,
    ready: function () { 
        croppable = true;
    }
},
//由于plup_upload内置的filter,出错时会触发Error回调
//导致上一个上传任务的失败,自定义了 check_image,limit_file_size,用于前端验证文件后缀格式与文件大小
filters: {                // object optional
     check_image:         // Boolean 是否检查图片类型(若为true: 对于裁剪上传,允许无后缀文件;多选上传,不允许无后缀文件)
     limit_file_size:     // Number 限制文件大小,参考格式:5 * 1024 * 1024
     prevent_duplicates:  // Boolean 是否允许选取重复文件,false:是,true 否,默认为false
},
show_msg:           //function optional 展示提示消息的函数,默认为window.alert
limit:              //number   optional 上传图片张数的限制,默认值32
tpye:               //string   optional 上传类型 file | image 默认值 image
beforeUpload:       //function optional 回调 参考回调说明
filePerUploaded:    //function optional 回调 参考回调说明
uploadCompleted:    //function optional 回调 参考回调说明
uploadError:        //function optional 回调 参考回调说明
deleteFile:         //function optional 回调 参考回调说明

} console $(selector).ossuploaderWrapper(option[, extend]); //selector 为隐藏域 option: object require 原oss上传插件的option extend: string_array optional 扩展名 console $(selector).ossuploaderWrapper(option, ['preventUpload']); //selector 为隐藏域 console var conf = { myExtend: { invoke: function(){ return {}; } || {} //require order: number, // >=2,optional } };



* invoke 属性必须为<code>返回对象的函数</code>或<code>纯对象</code>  
  <code>返回对象</code>或<code>纯对象</code>属性包含回调,如 beforeUpload,uploadCompleted 等
  扩展的回调队列中,任意一个函数返回false,都会停止执行后续回调   

* order属性为插件的调用排序,值越小调用顺序越早;  
  由于preventUpload扩展(内置扩展)的order为 1,  
  其他默认内置扩展大于1,
  非默认内置扩展大于100。

All versions of qscmf-formitem-aliyun-oss with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0.0
tiderjian/think-core Version >=12.19.0
aliyuncs/oss-sdk-php 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 quansitech/qscmf-formitem-aliyun-oss contains the following files

Loading the files please wait ....