Skip to content

Google Cloud Storage volume type for Craft CMS

License

Notifications You must be signed in to change notification settings

bvangennep/google-cloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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.

About

Google Cloud Storage volume type for Craft CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 73.2%
  • HTML 14.7%
  • JavaScript 12.1%