PHPackages                             aspose/storage-sdk-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. aspose/storage-sdk-php

ActiveLibrary[File &amp; Storage](/categories/file-storage)

aspose/storage-sdk-php
======================

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

18.4(8y ago)05.7k2[1 issues](https://github.com/aspose-storage-cloud/aspose-storage-cloud-php/issues)[1 PRs](https://github.com/aspose-storage-cloud/aspose-storage-cloud-php/pulls)4MITPHPPHP &gt;=5.5

Since Apr 25Pushed 7y ago2 watchersCompare

[ Source](https://github.com/aspose-storage-cloud/aspose-storage-cloud-php)[ Packagist](https://packagist.org/packages/aspose/storage-sdk-php)[ Docs](https://github.com/aspose-storage-cloud/aspose-storage-cloud-php)[ RSS](/packages/aspose-storage-sdk-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (4)

Aspose.Storage Cloud SDK for PHP
================================

[](#asposestorage-cloud-sdk-for-php)

This repository contains Aspose.Storage Cloud SDK for PHP source code. This SDK allows you to work with Aspose.Storage Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost. See [API Reference](https://apireference.aspose.cloud/storage/) for full API specification.

How to use the SDK?
-------------------

[](#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 get [Packagist distribution](https://packagist.org/packages/aspose/storage-sdk-php) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/display/storagecloud/Available+SDKs).

### Prerequisites

[](#prerequisites)

To use Aspose Storage for Cloud PHP SDK you need to register an account with [Aspose Cloud](https://www.aspose.cloud/) and lookup/create App Key and SID at [Cloud Dashboard](https://dashboard.aspose.cloud/#/apps). There is free quota available. For more details, see [Aspose Cloud Pricing](https://purchase.aspose.cloud/pricing).

### Installation

[](#installation)

#### Via Composer:

[](#via-composer)

*storage-sdk-php* is available on Packagist as the [`storage-sdk-php`](https://packagist.org/packages/aspose/storage-sdk-php) package. Run the following command:

```
composer require aspose/storage-sdk-php
```

To use the SDK, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

### Sample usage

[](#sample-usage)

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

[Tests](tests/Aspose/Storage) contain various examples of using the SDK. Please put your credentials into [Configuration](src/Aspose/Storage/Configuration.php).

Dependencies
------------

[](#dependencies)

- PHP 5.6 or later
- referenced packages (see [here](composer.json) for more details)

Comparison with Old generation SDK
----------------------------------

[](#comparison-with-old-generation-sdk)

New SDK has the following advantages over the [previous version](https://github.com/aspose-storage/Aspose.Storage-for-Cloud):

- Classes, methods and properties have comments and are IDE-friendly
- Better security
- Usage of Request/Response classes to represent long lists of parameters. This allows for cleaner code and easier backwards-compatibility going forward

New SDK is not backwards compatible with previous generation because of the last item. It should be straightforward to convert your code to using Request/Response objects, if you need any help on migration please ask at [Free Support Forums](https://forum.aspose.cloud/).

Resources
---------

[](#resources)

- [**Web API reference**](https://apireference.aspose.cloud/storage/)
- [**Website**](https://www.aspose.cloud/)
- [**Documentation**](https://docs.aspose.cloud/display/storagecloud/Home)
- [**Free Support Forum**](https://forum.aspose.cloud/c/storage)
- [**Paid Support Helpdesk**](https://helpdesk.aspose.cloud/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2945d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32087729?v=4)[AsposeCloud](/maintainers/AsposeCloud)[@asposecloud](https://github.com/asposecloud)

![](https://www.gravatar.com/avatar/d23b39db642bea7416f922659453ab3f0c3f0a74f2c235baf42c09565e5671c2?d=identicon)[masood-anwer](/maintainers/masood-anwer)

![](https://www.gravatar.com/avatar/e5e154a4463c4d9ee6c484267f689df93e1cfc763268ed48fd8df6c926853c5c?d=identicon)[imranwar](/maintainers/imranwar)

![](https://www.gravatar.com/avatar/d24b5baeaae392bf593cb4242f00f3d482154d040bb681e2323c7e1ec52eb143?d=identicon)[saudaspose](/maintainers/saudaspose)

---

Top Contributors

[![madalinaciocan](https://avatars.githubusercontent.com/u/35226514?v=4)](https://github.com/madalinaciocan "madalinaciocan (11 commits)")[![sohail-aspose](https://avatars.githubusercontent.com/u/8667577?v=4)](https://github.com/sohail-aspose "sohail-aspose (1 commits)")

---

Tags

phpasposeaspose storage cloud

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/aspose-storage-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/aspose-storage-sdk-php/health.svg)](https://phpackages.com/packages/aspose-storage-sdk-php)
```

###  Alternatives

[qcloud/cos-sdk-v5

PHP SDK for QCloud COS

2051.5M129](/packages/qcloud-cos-sdk-v5)[microsoft/azure-storage-common

This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.

4316.8M6](/packages/microsoft-azure-storage-common)[azure-oss/storage

Azure Blob Storage PHP SDK

37985.0k5](/packages/azure-oss-storage)[rsd/seafile-php-sdk

This is a PHP package for accessing Seafile Web API

3589.1k](/packages/rsd-seafile-php-sdk)[unisharp/s3-presigned

An AWS S3 package for pre-signed upload purpose in Laravel and PHP.

141.8k](/packages/unisharp-s3-presigned)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
