This repository contains GroupDocs Storage Cloud SDK for PHP source code. GroupDocs Storage Cloud SDK for PHP is a true REST API that provides managers for multiple storage types.

18.4 2018-04-25 09:37 UTC

This package is not auto-updated.

Last update: 2024-07-17 10:08:05 UTC


This repository contains GroupDocs.Storage Cloud SDK for PHP source code. This SDK allows you to work with GroupDocs.Storage Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost.

See API Reference for full API specification.

How to use the SDK?

The complete source code is available in this repository folder. You can either directly use it in your project via source code or via Packagist distribution (recommended). For more details, please visit our documentation website.


To use GroupDocs.Storage Cloud SDK for PHP you need to register an account with GroupDocs Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see GroupDocs Cloud Pricing.


Install storage-sdk-php via Composer:

storage-sdk-php is available on Packagist as the storage-sdk-php package. Run the following command:

composer require groupdocscloud/storage-sdk-php

To use the SDK, use Composer's autoload:


Sample usage

The example below shows how your application has to initiate and download a file using storage-sdk-php library:

$config = new Configuration();
$storageApi = new StorageApi($config);

$path = "path/FileName.pdf";
$versionId = null;
$storage = "StorageName";
$request = new Requests\GetDownloadRequest($path, $versionId, $storage);
$result = $storageApi->getDownload($request);

Tests contain various examples of using the SDK. Please put your credentials into Configuration.


  • PHP 5.6 or later
  • referenced packages (see here for more details)

Contact Us

Your feedback is very important to us. Please feel free to contact us using our Support Forums.