This module adds a file upload widget for Drupal that allows users to directly upload files to a Google Cloud Storage bucket. It is based on a similar module for AWS S3 but is adapted for Google Cloud Storage.
Summary
Provide a File Field Widget to allow directly uploading files from a web browser to the Google Cloud Storage Bucket defined in a Flysystem - Google Cloud Storage configuration.
This module is a fork of S3 File System CORS Upload, modified to integrate with Google Cloud Storage instead of AWS S3.
Installation
composer require drupal/flysystem_gcs_cors- Configure Flysystem GCS Stream Wrapper in
settings.php. The GSA will need theroles/storage.adminrole on the GCS bucket androles/iam.serviceAccountTokenCreatoron the GSA itself - Go through the Drupal admin UI to
/admin/config/media/gcs-corsand save the form with your website URL. This will add a CORS setting to your GCS bucket for the URL you enter - This module will then be automatically used for any file fields with the Flysystem GCS Stream Wrapper
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta1 | Pre-release | 10–11 | May 5, 2026 | ||
| 1.0.0-alpha14 | Pre-release | 10–11 | Aug 5, 2025 | ||
| 1.0.0-alpha13 | Pre-release | 10–11 | Apr 16, 2025 | ||
| 1.0.0-alpha12 | Pre-release | 9–11 | Nov 4, 2024 | ||
| 1.0.0-alpha11 | Pre-release | 9–11 | Nov 4, 2024 |