Skip to content

GBCLStudio/fof-upload-qcloud

Repository files navigation

GBCLStudio/fof-upload-qcloud

License Latest Stable Version

A Flarum extension. An extension for FoF Upload to support Tencent COS upload

Installation

Install manually with composer:

composer require gbcl/fof-upload-qcloud

After installation, you must set the following settings in the admin panel:

  • qcloud_secret_id
  • qcloud_secret_key
  • qcloud_region
  • qcloud_bucket
  • qcloud_path
  • qcloud_domain

then you need to set the adapter and template to Tencent COS and corresponding template.

If these settings are not set correctly, the upload will fail and will cause a fatal error.

Updating

composer update gbcl/fof-upload-qcloud
php flarum cache:clear

Features

  • Support audio/picture/video/pdf preview and common download
  • Support file signature and custom signatureToken name/time
  • Support most commonly used regions

Links

Special

VideoTemplate is using [email protected] By DIYgod

PdfTemplate is using PDFObject@latest By PDFObject

Support my works at afdian.net