for Google Cloud Platform
composer require otobank/gcputils
<?php
use GCPUtils\CloudStorage;
$storage = new CloudStorage();
$signedUrl = $storage->generateSignedUrl('/bucket/path/to/file.txt', time() + 86400);
for Google Cloud Platform
composer require otobank/gcputils
<?php
use GCPUtils\CloudStorage;
$storage = new CloudStorage();
$signedUrl = $storage->generateSignedUrl('/bucket/path/to/file.txt', time() + 86400);