Download the PHP package glueful/storage-gcs without Composer
On this page you can find all versions of the php package glueful/storage-gcs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download glueful/storage-gcs
More information about glueful/storage-gcs
Files in glueful/storage-gcs
Package storage-gcs
Short Description Google Cloud Storage driver for the Glueful framework.
License MIT
Homepage https://github.com/glueful/storage-gcs
Informations about the package storage-gcs
Glueful Storage GCS
Google Cloud Storage driver for Glueful.
Install
The package auto-registers as a Glueful extension through
extra.glueful.provider. After install, any disk with driver => gcs is
resolved by GcsStorageDriverFactory.
Configuration
Add a disk under config/storage.php:
Environment variables:
key_file is optional for filesystem construction when your runtime already
has Application Default Credentials. Native V4 signed URLs need credentials
capable of local signing, so service-account JSON is the normal production
configuration.
Native URLs
The framework always supports app-signed blob URLs through /blobs/{uuid}.
Direct provider URLs are opt-in and visibility-scoped:
Private native URLs are bearer tokens from Google Cloud Storage. Keep them
short-lived and prefer the app-signed URL when application-side authorization
or revocation matters.
Direct provider URL TTLs are clamped by the disk's max_signed_ttl value, which
defaults to 86400 seconds.
Diagnostics
Run a read-only check:
Run a write/read/delete smoke test only when you want to verify write permissions:
Development
All versions of storage-gcs with dependencies
google/cloud-storage Version ^2.0
league/flysystem-google-cloud-storage Version ^3.0