新宁苏 / craft-qcloud-cos
腾讯云COS集成Craft CMS
v2.0.0
2024-06-02 00:55 UTC
Requires
- php: ^8.2
- craftcms/cms: ^5.0.0
- craftcms/flysystem: ^2.0.0
- overtrue/flysystem-cos: ^5.1
This package is auto-updated.
Last update: 2024-09-02 01:33:22 UTC
README
腾讯云对象存储整合Craft CMS,腾讯云COS集成Craft CMS
此插件提供了腾讯云COS集成Craft CMS,使用此插件,我们可以为Craft CMS创建腾讯云COS卷类型。
要求
- PHP 8.0.2或更高版本
- Craft CMS 4.0或更高版本
安装
您可以从插件商店或使用Composer安装此插件。
从插件商店
在项目的控制面板中转到插件商店,搜索“腾讯云COS卷”,然后在弹出的窗口中点击安装。
使用Composer
打开您的终端,并运行以下命令
# go to the project directory cd /path/to/my-project # tell Composer to load the plugin composer require xinningsu/craft-qcloud-cos # tell Craft to install the plugin ./craft plugin/install craft-qcloud-cos
设置
要创建一个新的腾讯云COS文件系统以用于您的卷,
- 登录管理员,访问设置→文件系统,
- 点击新建文件系统。
- 选择“腾讯云COS”作为文件系统类型。
- 根据需要设置和配置。