gbcl/fof-upload-qcloud

FoF/upload TencentCloud COS support

Installs: 297

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 1

Forks: 2

Type:flarum-extension

1.3.0.2 2024-08-02 12:27 UTC

This package is auto-updated.

Last update: 2024-11-10 10:59:44 UTC


README

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 DPlayer@1.27 By DIYgod

PdfTemplate is using PDFObject@latest By PDFObject

Support my works at afdian.net