PHP code example of groupdocscloud / storage-sdk-php
1. Go to this page and download the library: Download groupdocscloud/storage-sdk-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
groupdocscloud / storage-sdk-php example snippets
$config = new Configuration();
$config->setAppKey('AppKey')->setAppSid('AppSid');
$storageApi = new StorageApi($config);
$path = "path/FileName.pdf";
$versionId = null;
$storage = "StorageName";
$request = new Requests\GetDownloadRequest($path, $versionId, $storage);
$result = $storageApi->getDownload($request);
bash
composer