Download the PHP package quansitech/qscmf-formitem-tengxun-cos without Composer

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

FormBuilder腾讯云cos上传组件

用法

1.安装及配置

1.1安装

1.2在env文件中加入

1.3在config.php中对应的上传类型更改配置

示例

2.使用

上传

默认采用image和file类型上传,可通过定义data-url参数来设置需要的类型

前端组件

在页面加载js文件

用法:

配置项说明:

配置项 类型 说明 默认值
value array 初始化fileList, file 的属性有 name 文件名称, file_id 文件id, thumbUrl 缩略图, file_url 文件的地址 []
listType string antd说明文档 picture-card
policyUrl string 获取cos上传策略地址 /extends/TengxunCos/policyGet/type/image
maxCount number antd说明文档 1
showUploadList antd说明文档 antd说明文档 true
onChange callback 文件上传完成触发change回调,返回当前文件列表,文件列表格式:[{file_id:1, file_url:'url'}]
crop object antd-img-crop说明文档 false

3.升级

升级至1.1.0

获取文件url
支持私有读bucket

在上传文件配置中加入 'security' => true,即可


All versions of qscmf-formitem-tengxun-cos with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2.0
tiderjian/think-core Version >=11.0
guzzlehttp/guzzle Version ^6.2
qcloud/cos-sdk-v5 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-tengxun-cos contains the following files

Loading the files please wait ....