neosrulez/assetsource-googlecloudstorage

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

Google Cloud Storage asset source for Neos CMS.

1.0.4 2021-07-29 16:47 UTC

This package is not auto-updated.

Last update: 2024-11-15 08:29:56 UTC


README

A package to use a private or public Google Cloud Storage as an asset source in Neos CMS.

Installation

The NeosRulez.AssetSource.GoogleCloudStorage package is listed on packagist (https://packagist.org/packages/neosrulez/assetsource-googlecloudstorage) - therefore you don't have to include the package in your "repositories" entry any more.

Just run:

composer require neosrulez/assetsource-googlecloudstorage

Configuration

Settings.yaml

Neos:
  Media:
    assetSources:
      googleCloudStorage:
        assetSource: 'NeosRulez\AssetSource\GoogleCloudStorage\AssetSource\GoogleCloudStorageAssetSource'
        assetSourceOptions:
          privateKeyJsonPathAndFilename: '/data/neos/Data/Secrets/secure-project-135623-6b390b76f8bb.json'
          bucketName: 'your_bucketname'
          icon: 'resource://NeosRulez.AssetSource.GoogleCloudStorage/Public/GoogleG.svg'
          name: 'Cloud Storage'
          defaultSearchTerm: ''
          signedUrlDuration: '60'

Author