Google Cloud Storage volume type for Craft CMS
Switch branches/tags
Clone or download

README.md

Google Cloud Storage for Craft CMS

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

⚠️ If you are updating from Craft 2, you will need to provide the contents of your Service Account Credentials JSON file for each Volume in their settings.

Requirements

This plugin requires Craft CMS 3.0.0-RC4 or later.

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 install/plugin google-cloud

Setup

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”.