There is no license information available for the latest version (v2.0.0) of this package.

Shopware media adapter to store media files on Google Cloud Storage.

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 5

Forks: 1


v2.0.0 2018-02-08 14:53 UTC

This package is auto-updated.

Last update: 2024-06-15 19:03:17 UTC


Google Cloud Storage Adapter for Shopware

Software License

The GCP adapter allows you to manage your media files in shopware on Google Cloud Storage.

Building a package

Just run ./


Download the plugin from the release page and enable it in shopware.


Update your config.php in your root directory and fill in your own values

'cdn' => [
    'backend' => 'gcp',
    'adapters' => [
        'gcp' => [
            'type'          => 'gcp',
            'mediaUrl'      => '',
            'projectId'     => 'your-project-id',
            'keyFilePath'   => '/path/to/your/keyfile', // see below
            'bucket'        => 'your-bucket-name'


The credentials will be auto-loaded by the Google Cloud Client.

  1. The client will first look at the GOOGLE_APPLICATION_CREDENTIALS env var. You can use putenv('GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account.json'); to set the location of your credentials file.

  2. The client will look for the credentials file at the following paths:

  • windows: %APPDATA%/gcloud/application_default_credentials.json
  • others: $HOME/.config/gcloud/application_default_credentials.json

If running in Google App Engine, the built-in service account associated with the application will be used. If running in Google Compute Engine, the built-in service account associated with the virtual machine instance will be used.


The MIT License (MIT). Please see License File for more information.