PHP code example of aspose / storage-sdk-php
1. Go to this page and download the library: Download aspose/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/ */
aspose / storage-sdk-php example snippets
$config = new Configuration();
$config->setAppKey('AppKey')->setAppSid('AppSid');
$storageApi = new StorageApi($config);
$path = "path/FileName.pdf";
$version_id = null;
$storage = "StorageName";
$request = new Requests\GetDownloadRequest($path, $version_id, $storage);
$result = $storageApi->getDownload($request);
bash
composer