定制 calips-labs/scaleway-object-storage 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

calips-labs/scaleway-object-storage

最新稳定版本:1.0.1

Composer 安装命令:

composer require calips-labs/scaleway-object-storage

包简介

Scaleway Object Storage integration for Craft CMS

README 文档

README

Scaleway Object Storage filesystem for Craft CMS

Requirements

This plugin requires Craft CMS ^4.0.0-beta.1 and PHP ^8.0.2

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell composer to load the plugin:

     composer require calips-labs/scaleway-object-storage
    
  3. Navigate to Settings -> Plugins and click the "Install" button for Scaleway Object Storage.

API keys

You can create an API key in the Scaleway console. An API key consists of an Access Key ID and a Secret Access Key.

When you configure an API key, make sure that it has access to the bucket you want to use. At least the following permissions are needed: ObjectStorageBucketsRead, ObjectStorageObjectsRead, ObjectStorageObjectsWrite, ObjectStorageObjectsDelete.

Configuring a new filesystem

  1. Navigate to Settings -> Filesystems and click the "New Filesystem" button.
  2. Select "Scaleway Object Storage" from the "Filesystem Type" dropdown.
  3. Select the region for your bucket.
  4. Enter your Access Key ID, and Secret Access Key (it's recommended to store these in your .env file and reference the environment variables here).
  5. Hit Refresh to load the bucket list, or choose the Manual option and enter the bucket name. (The bucket name can also be stored in your .env file and be referenced here.)
  6. Save the filesystem.

Misc

Open an Issue if you encounter any problems or have suggestions.

Acknowledgements

Based on the excellent Cloudflare R2 plugin by Jarrod D Nix

统计信息

  • 总下载量: 16
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固