otobank / gcputils
This package is abandoned and no longer maintained.
No replacement package was suggested.
v1.0.0
2017-04-14 04:46 UTC
Suggests
- google/appengine-php-sdk: Google App Engine PHP SDK
This package is auto-updated.
Last update: 2024-11-18 21:47:28 UTC
README
for Google Cloud Platform
Installation
composer require otobank/gcputils
Usage
Cloud Storage
Generate signed URL to provide query-string auth'n to a resource
<?php use GCPUtils\CloudStorage; $storage = new CloudStorage(); $signedUrl = $storage->generateSignedUrl('/bucket/path/to/file.txt', time() + 86400);