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