承接 craftcms/google-cloud 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

craftcms/google-cloud

最新稳定版本:2.2.0

Composer 安装命令:

composer require craftcms/google-cloud

包简介

Google Cloud Storage integration for Craft CMS

README 文档

README

This plugin provides a Google Cloud Storage integration for Craft CMS.

Requirements

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.

Installation

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Google Cloud Storage”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require craftcms/google-cloud

# tell Craft to install the plugin
./craft plugin/install google-cloud

Setup

Your Google Cloud bucket must use Google's Fine grained (per object) permissions, not Uniform (per bucket).

On the permissions table for the new bucket, grant Storage Object Viewer to allUsers. The Storage Admin role should be granted to the service account the credentials are tied to.

To create a new asset volume for your Google Cloud Storage bucket, go to Settings → Assets, create a new volume, and set the Volume Type setting to “Google Cloud Storage”.

Tip: The Project ID, Bucket, and Subfolder settings can be set to environment variables. See Environmental Configuration in the Craft docs to learn more about that.

统计信息

  • 总下载量: 99.23k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 2
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 12
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-02