PHPackages                             shopwarelabs/swag-media-gcp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. shopwarelabs/swag-media-gcp

ActiveShopware-plugin[File &amp; Storage](/categories/file-storage)

shopwarelabs/swag-media-gcp
===========================

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

v2.0.0(8y ago)410PHP

Since Nov 16Pushed 8y ago4 watchersCompare

[ Source](https://github.com/shopwareLabs/SwagMediaGCP)[ Packagist](https://packagist.org/packages/shopwarelabs/swag-media-gcp)[ RSS](/packages/shopwarelabs-swag-media-gcp/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Google Cloud Storage Adapter for Shopware
=========================================

[](#google-cloud-storage-adapter-for-shopware)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

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

Building a package
------------------

[](#building-a-package)

Just run `./build.sh`.

Install
-------

[](#install)

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

Usage
-----

[](#usage)

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

```
'cdn' => [
    'backend' => 'gcp',
    'adapters' => [
        'gcp' => [
            'type'          => 'gcp',
            'mediaUrl'      => 'https://storage.googleapis.com/your-bucket-name/',
            'projectId'     => 'your-project-id',
            'keyFilePath'   => '/path/to/your/keyfile', // see below
            'bucket'        => 'your-bucket-name'
        ]
    ]
],
```

### Credentials

[](#credentials)

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.

License
-------

[](#license)

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

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~449 days

Total

2

Last Release

3065d ago

Major Versions

v1.0.0 → v2.0.02018-02-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/87bec78135aee2ab0f6ca5c7a0aae17966d8bfec3f873a81932fa65cf6621a20?d=identicon)[janbuecker](/maintainers/janbuecker)

---

Top Contributors

[![janbuecker](https://avatars.githubusercontent.com/u/736986?v=4)](https://github.com/janbuecker "janbuecker (1 commits)")[![mitelg](https://avatars.githubusercontent.com/u/6985627?v=4)](https://github.com/mitelg "mitelg (1 commits)")

---

Tags

gcpgoogle-cloud-storageshopwareshopware-pluginshopwaregoogle cloudgcp

### Embed Badge

![Health badge](/badges/shopwarelabs-swag-media-gcp/health.svg)

```
[![Health](https://phpackages.com/badges/shopwarelabs-swag-media-gcp/health.svg)](https://phpackages.com/packages/shopwarelabs-swag-media-gcp)
```

###  Alternatives

[google/cloud

Google Cloud Client Library

1.2k16.7M57](/packages/google-cloud)[kreait/gcp-metadata

Get the metadata from a Google Cloud Platform environment.

654.9M1](/packages/kreait-gcp-metadata)[frosh/platform-thumbnail-processor

This plugins allows you to use variable thumbnails, without having them on storage.

22115.6k2](/packages/frosh-platform-thumbnail-processor)[codeinternetapplications/monolog-stackdriver

Stackdriver handler for Monolog.

14183.8k](/packages/codeinternetapplications-monolog-stackdriver)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
