PHPackages                             aspose/aspose-imaging-cloud - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. aspose/aspose-imaging-cloud

ActiveLibrary[HTTP &amp; Networking](/categories/http)

aspose/aspose-imaging-cloud
===========================

Aspose.Imaging Cloud PHP SDK

25.4(1y ago)01241MITPHPPHP &gt;=5.6CI failing

Since Jan 29Pushed 1y ago3 watchersCompare

[ Source](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php)[ Packagist](https://packagist.org/packages/aspose/aspose-imaging-cloud)[ Docs](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php)[ RSS](/packages/aspose-aspose-imaging-cloud/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (3)Versions (89)Used By (0)

[![](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579)](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579) [![Packagist Version](https://camo.githubusercontent.com/8042fa1a4f220e47af9826104d59295a4dad22c0f79a42021a3bdfa567dc6a3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f6173706f73652d696d6167696e672d636c6f7564)](https://camo.githubusercontent.com/8042fa1a4f220e47af9826104d59295a4dad22c0f79a42021a3bdfa567dc6a3a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f6173706f73652d696d6167696e672d636c6f7564) [![Packagist PHP Version Support](https://camo.githubusercontent.com/34ca6f1c7525b55ca65826dd6b22f443a9020bd560e5079d2c06f61653fd3260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6173706f73652d696d6167696e672d636c6f7564)](https://camo.githubusercontent.com/34ca6f1c7525b55ca65826dd6b22f443a9020bd560e5079d2c06f61653fd3260/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6173706f73652d696d6167696e672d636c6f7564) [![GitHub license](https://camo.githubusercontent.com/b9b4c6963e2d012d3e6203446299d55cbcfc1a667237f537bd96b14161bc1de9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6173706f73652d696d6167696e672d636c6f75642f6173706f73652d696d6167696e672d636c6f75642d706870)](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php/blob/master/LICENSE)

Image Processing in Cloud via PHP REST API
------------------------------------------

[](#image-processing-in-cloud-via-php-rest-api)

[Aspose.Imaging Cloud](https://products.aspose.cloud/imaging) is a true [REST API](https://apireference.aspose.cloud/imaging/) that enables you to perform a wide range of image processing operations including creation, manipulation and conversion in the cloud, with zero initial costs. Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process images in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights.

This repository contains [Aspose.Imaging Cloud PHP SDK](https://products.aspose.cloud/imaging/php) source code. This SDK allows you to work with Aspose.Imaging Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost.

To use this SDK, you will need Client ID and Client Secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/#/apps) (free registration in Aspose Cloud is required for this).

Image Processing Features
-------------------------

[](#image-processing-features)

- Fetch or update properties of cloud-hosted images.
- Scale, flip, crop, and export an image with a single API call.
- Resize, crop, flip, convert, and export an image to other supported formats.
- Update image parameters of JPEG2000 &amp; WEBP images.
- Access and multi-frame TIFF image and extract the desired frames from it.
- Rotate, flip, crop, resize, or fetch properties of the selected TIFF frame.
- Merge multiple TIFF images.

Read &amp; Write Image Formats
------------------------------

[](#read--write-image-formats)

BMP, GIF, JPEG, JPEG2000, PSD, TIFF, WEBP, PNG, WMF, EMF, SVG

Save Image As
-------------

[](#save-image-as)

PDF, DICOM

Read Image Formats
------------------

[](#read-image-formats)

DJVU, DICOM, CDR, CMX, ODG, DNG, EPS

Enhancements in Version 20.12
-----------------------------

[](#enhancements-in-version-2012)

- Enhanced the **EPS** file format inheritance to support rotate, resize, flip, etc. operations as vector images support.
- Improved image loading, conversion, and export features.
- Added the JavaScript SDK.

Enhancements in Version 20.9
----------------------------

[](#enhancements-in-version-209)

- Resumed the support of **Android SDK** and updated reference to Aspose.Imaging and Aspose.PSD.

Enhancements in Version 20.10
-----------------------------

[](#enhancements-in-version-2010)

- Support for additional image formats in Object Detection.
- Support to load and convert **EPS** files to **PDF/A** format.

Storage API support
-------------------

[](#storage-api-support)

Since version 19.4, SDK includes support of storage operations for better user experience and unification, so now there's no need to use 2 different SDKs!

It gives you an ability to:

- Upload, download, copy, move and delete files, including versions handling (if you are using Cloud storage that supports this feature - true by default)
- Create, copy, move and delete folders
- Copy and move files and folders accross separate storages in scope of a single operation
- Check if certain file, folder or storage exists

Detalied official documentation can be found at the [following link](https://docs.aspose.cloud/imaging/).

Getting Started
---------------

[](#getting-started)

1. **Sign Up**. Before you begin, you need to sign up for an account on our [Dashboard](https://dashboard.aspose.cloud/) and retrieve your [credentials](https://dashboard.aspose.cloud/#/apps).
2. **Minimum requirements**. This SDK requires [PHP 5.6 or later](https://www.php.net/releases/).
3. **Install Aspose.Imaging Cloud PHP SDK**. Please, add the following [Packagist package](https://packagist.org/packages/aspose/aspose-imaging-cloud) to your project.

Please, add the following to your composer.json as a dependency.

```
{
    "require": {
        "aspose/aspose-imaging-cloud": ">=25.4"
    }
}
```

Import the dependencies to your code as follows.

```
use \Aspose\Imaging\ImagingApi;
use \Aspose\Imaging\Configuration;
use \Aspose\Imaging\Model;
use \Aspose\Imaging\Model\Requests;
```

4. **Using the SDK**. The best way to become familiar with how to use the SDK is to read the [Developer Guide](https://docs.aspose.cloud/imaging/developer-guide/). The [Getting Started Guide](https://docs.aspose.cloud/imaging/getting-started/) will help you to become familiar with the common concepts.

Quick Examples
--------------

[](#quick-examples)

Please, look at [Examples](EXAMPLES.md) document for basic usage or use the [Examples](Examples) folder for more sophisticated scenarios.

Convert JPG to PNG in PHP
-------------------------

[](#convert-jpg-to-png-in-php)

```
	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	$config = new Configuration();
	$config->setAppSid("MY_CLIENT_ID");
	$config->setAppKey("MY_CLIENT_SECRET");

	$api = new ImagingApi($config);

	$request = new ConvertImageRequest("sample.jpg", "png", "tempFolder", "My_Storage_Name");
	$result = $api->convertImage($request);
```

#### Aspose Cloud-hosted service VS on-premise deployment (*experimental feature*)

[](#aspose-cloud-hosted-service-vs-on-premise-deployment-experimental-feature)

Starting from v19.7, you can choose either to use Aspose Cloud-hosted image processing service (the standard way) or the Docker image from Docker Hub deployed on-premise to serve the requests. The details about key differences and deployment process will be described on the dedicated Docker Hub page as soon as it's released.

To succeed with your on-premise service usage by the SDK, you need to:

1. Set the *baseUrl* parameter according to your on-premise deployment, *isMetered* parameter to *true* and use optional API version and debug mode parameters if needed.

```
$imagingConfig = new Imaging\Configuration();
$imagingConfig->setBaseUrl("yourServiceUrl");
$imagingConfig->setOnPremise(true);
$imagingApi = new Imaging\ImagingApi($imagingConfig);
```

2. Set *storage* or *storageName* parameters for each request where they're present (mandatory!).

Content
-------

[](#content)

You may check our full [API endpoints list](docs/API_README.md#documentation-for-api-endpoints) or [models available](docs/API_README.md#documentation-for-models) in the SDK.

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

[](#dependencies)

- [PHP 5.6 or later](https://www.php.net/releases/)

Licensing
---------

[](#licensing)

All Aspose.Imaging Cloud SDKs, helper scripts and templates are licensed under [MIT License](LICENSE).

Aspose.Imaging Cloud SDKs in Popular Languages
----------------------------------------------

[](#asposeimaging-cloud-sdks-in-popular-languages)

.NETJavaPHPPythonRubyNode.jsAndroid[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-dotnet)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-java)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-python)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-ruby)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-node)[GitHub](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-android)[NuGet](https://www.nuget.org/packages/Aspose.Imaging-Cloud/)[Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-imaging-cloud)[Composer](https://packagist.org/packages/aspose/aspose-imaging-cloud)[PIP](https://pypi.org/project/aspose.imaging-cloud/)[GEM](https://rubygems.org/gems/aspose_imaging_cloud)[NPM](https://www.npmjs.com/package/@asposecloud/aspose-imaging-cloud)[Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-imaging-cloud)[Product Page](https://products.aspose.cloud/imaging/php) | [Documentation](https://docs.aspose.cloud/display/imagingcloud/Home) | [API Reference](https://apireference.aspose.cloud/imaging/) | [Code Samples](https://github.com/aspose-imaging-cloud/aspose-imaging-cloud-php) | [Blog](https://blog.aspose.cloud/category/imaging/) | [Free Support](https://forum.aspose.cloud/c/imaging) | [Free Trial](https://dashboard.aspose.cloud/#/apps)

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance47

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~90 days

Recently: every ~307 days

Total

26

Last Release

394d ago

Major Versions

19.12 → 20.12020-01-30

20.12 → 21.22021-02-17

21.12 → 22.42022-04-13

22.4 → 23.52023-06-01

23.5 → 25.42025-04-10

### Community

Maintainers

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

---

Top Contributors

[![alexermakoff](https://avatars.githubusercontent.com/u/16626479?v=4)](https://github.com/alexermakoff "alexermakoff (81 commits)")[![dmitrypasyutin](https://avatars.githubusercontent.com/u/23136630?v=4)](https://github.com/dmitrypasyutin "dmitrypasyutin (45 commits)")[![aifeigin](https://avatars.githubusercontent.com/u/12794937?v=4)](https://github.com/aifeigin "aifeigin (41 commits)")[![aspose-imaging-cloud-deployer](https://avatars.githubusercontent.com/u/37177976?v=4)](https://github.com/aspose-imaging-cloud-deployer "aspose-imaging-cloud-deployer (25 commits)")[![MaxCrank](https://avatars.githubusercontent.com/u/5737706?v=4)](https://github.com/MaxCrank "MaxCrank (2 commits)")[![rizwanniazigroupdocs](https://avatars.githubusercontent.com/u/16472118?v=4)](https://github.com/rizwanniazigroupdocs "rizwanniazigroupdocs (2 commits)")[![s-zubov](https://avatars.githubusercontent.com/u/36876024?v=4)](https://github.com/s-zubov "s-zubov (2 commits)")[![babar-raza](https://avatars.githubusercontent.com/u/1225645?v=4)](https://github.com/babar-raza "babar-raza (1 commits)")

---

Tags

apipdfsdkrestconvertcloudimagemetadataresizesvggifpngjpegjpgcropfiltersasposerotateWebptiffBMPimagingemftifjp2dicomjpeg2000cmxj2kwmfdngObject Detectiondjvudjvjpejpxjpmodgcdrotgreverse searchdeskewing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aspose-aspose-imaging-cloud/health.svg)

```
[![Health](https://phpackages.com/badges/aspose-aspose-imaging-cloud/health.svg)](https://phpackages.com/packages/aspose-aspose-imaging-cloud)
```

###  Alternatives

[qaamgo/onlineconvert-api-sdk

Sdk for using the Online Convert Api version 2

3975.4k](/packages/qaamgo-onlineconvert-api-sdk)[joseluisq/gimage

A PHP library for easy image handling.

1523.7k](/packages/joseluisq-gimage)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1829.2k2](/packages/huaweicloud-huaweicloud-sdk-php)[image-charts/image-charts

Official Image-Charts.com API client library

2762.3k](/packages/image-charts-image-charts)[choowx/rasterize-svg

A PHP library for converting SVG to JPEG, PNG, and WEBP

2261.7k](/packages/choowx-rasterize-svg)

PHPackages © 2026

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