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
Supporting organizations:
Project information
- Project categories: Site structure, Media, Integrations
26 sites report using this module
- Created by joecorall on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
1.0.0-beta1
released 5 May 2026
Works with Drupal: ^10.2 || ^11
Install:
Development version: 1.x-dev updated 16 Apr 2025 at 16:56 UTC

