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