2017 © Pedro Peláez
 

library gcputils

image

otobank/gcputils

  • Friday, April 14, 2017
  • by riaf
  • Repository
  • 9 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

gcputils-php

for Google Cloud Platform, (*1)

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);

The Versions