PHPackages                             aspose/diagram-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. [API Development](/categories/api)
4. /
5. aspose/diagram-sdk-php

ActiveLibrary[API Development](/categories/api)

aspose/diagram-sdk-php
======================

A PHP library for communicating with the Aspose.Diagram Cloud API

24.8.1(1y ago)02471[2 PRs](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php/pulls)proprietaryPHPPHP &gt;=8.0

Since Jan 17Pushed 1y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (8)Used By (0)

[![](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579)](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579) [![Packagist Version](https://camo.githubusercontent.com/3c77d2f56ea42770a21fcf63bffaf84c1dbe0bce6d5b128d31761aa200899b4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f6469616772616d2d73646b2d706870)](https://camo.githubusercontent.com/3c77d2f56ea42770a21fcf63bffaf84c1dbe0bce6d5b128d31761aa200899b4c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f6469616772616d2d73646b2d706870) [![Packagist PHP Version Support](https://camo.githubusercontent.com/3efca87a65fd57924c33d840773d4b265198797cdc4b0baeb8d6149c51aec7be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6469616772616d2d73646b2d706870)](https://camo.githubusercontent.com/3efca87a65fd57924c33d840773d4b265198797cdc4b0baeb8d6149c51aec7be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6469616772616d2d73646b2d706870) [![GitHub license](https://camo.githubusercontent.com/c3665f958b5284b48b70f7369b14ed1fadb6e908b72cb56afaac3d6033c25a7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6173706f73652d6469616772616d2d636c6f75642f6173706f73652d4469616772616d2d636c6f75642d706870)](https://github.com/aspose-diagram-cloud/aspose-Diagram-cloud-php/blob/master/LICENSE)

PHP Cloud REST API for Visio Processing
=======================================

[](#php-cloud-rest-api-for-visio-processing)

[Aspose.Diagram Cloud SDK for PHP](https://products.aspose.cloud/diagram/php) helps you develop Visio file manipulation applications with the help of Aspose.Diagram REST API. It allows your applications to work with Microsoft Visio Object Model in order to create the diagrams from scratch or convert diagrams to popular formats including PDF, HTML, images and other Visio formats.

Visio Processing Features
-------------------------

[](#visio-processing-features)

- [Convert diagrams](https://docs.aspose.cloud/diagram/convert-diagram-file-to-another-format/) to 20+ different file formats.
- Retrieve document information of a Visio diagram.
- Programmatically create a new Microsoft Visio diagram file.
- Convert Visio flow-charts to other supported formats.
- Upload your business-oriented Visio diagrams to cloud storage.
- Export Visio files to raster images, fixed-layout, and HTML formats.

Please refer to [Developer's Guide](https://docs.aspose.cloud/diagram/developer-guide/) to see what else you can achieve.

Read &amp; Write Visio Formats
------------------------------

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

**Microsoft Visio:** VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM

Save Visio As
-------------

[](#save-visio-as)

**Fixed Layout:** PDF, XPS **Images:** JPEG, PNG, BMP, TIFF, SVG, EMF **Web:** HTML **Other:** XAML, SWF

Read Visio Formats
------------------

[](#read-visio-formats)

**Microsoft Visio:** VDW, VSD, VSS, VST

New Features in Version 20.3
----------------------------

[](#new-features-in-version-203)

Added support to draw following objects on a page:

- Polyline
- Line
- Ellipse

Added support to:

- Set page setting
- Add new empty page
- Get pages info

For the detailed notes, please visit [Aspose.Diagram Cloud 20.3 Release Notes](https://docs.aspose.cloud/diagram/aspose-diagram-cloud-20-3-release-notes/).

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

[](#how-to-use-the-sdk)

The complete source code is available at the [GitHub Repository](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php). You can either directly use it in your project via source code or get [Packagist distribution](https://packagist.org/packages/aspose/diagram-sdk-php) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/diagram/).

Prerequisites
-------------

[](#prerequisites)

To use Aspose Cells Cloud 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 via Composer
-------------------------

[](#installation-via-composer)

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

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

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

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

Examples
--------

[](#examples)

Please, look at [Examples](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php/blob/master/EXAMPLES.md) document for basic usage or use the [Examples](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php/blob/master/Examples) folder for more sophisticated scenarios.

Create New VDX Diagram File in PHP
----------------------------------

[](#create-new-vdx-diagram-file-in-php)

```
	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).
	$api = new DiagramApi("client_credentials", "MY_CLIENT_ID", "MY_CLIENT_SECRET");

	$result = $api->createNew("sample.vdx");
```

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

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

.NETJavaPHPPythonRubyNode.jsAndroidPerlSwift[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-dotnet)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-java)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-python)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-ruby)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-node)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-android)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-perl)[GitHub](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-swift)[NuGet](https://www.nuget.org/packages/Aspose.Diagram-Cloud/)[Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-diagram-cloud)[Composer](https://packagist.org/packages/aspose/diagram-sdk-php)[PIP](https://pypi.org/project/asposediagramcloud/)[GEM](https://rubygems.org/gems/aspose_diagram_cloud)[NPM](https://www.npmjs.com/package/asposediagramcloud)[Maven](https://repository.aspose.cloud/webapp/#/artifacts/browse/tree/General/repo/com/aspose/aspose-diagram-cloud-android)[CPAN](https://metacpan.org/release/AsposeDiagramCloud-DiagramApi)[POD](https://cocoapods.org/pods/AsposeDiagramCloud)[Home](https://www.aspose.cloud) | [Product Page](https://products.aspose.cloud/diagram/php) | [Documentation](https://docs.aspose.cloud/diagram/) | [Live Demo](https://products.aspose.app/diagram/family) | [API Reference](https://apireference.aspose.cloud/diagram/) | [Code Samples](https://github.com/aspose-diagram-cloud/aspose-diagram-cloud-php) | [Blog](https://blog.aspose.cloud/category/diagram/) | [Free Support](https://forum.aspose.cloud/c/diagram) | [Free Trial](https://dashboard.aspose.cloud/)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 61.9% 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

Every ~507 days

Total

5

Last Release

649d ago

Major Versions

18.10 → 19.102019-10-31

19.10 → 20.32020-05-13

20.3 → 24.82024-08-07

PHP version history (2 changes)18.10PHP &gt;=5.5

24.8PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![gordonge](https://avatars.githubusercontent.com/u/44282763?v=4)](https://github.com/gordonge "gordonge (13 commits)")[![babar-raza](https://avatars.githubusercontent.com/u/1225645?v=4)](https://github.com/babar-raza "babar-raza (4 commits)")[![rizwanniazigroupdocs](https://avatars.githubusercontent.com/u/16472118?v=4)](https://github.com/rizwanniazigroupdocs "rizwanniazigroupdocs (2 commits)")[![msohailismail](https://avatars.githubusercontent.com/u/357146?v=4)](https://github.com/msohailismail "msohailismail (1 commits)")[![sohail-aspose](https://avatars.githubusercontent.com/u/8667577?v=4)](https://github.com/sohail-aspose "sohail-aspose (1 commits)")

---

Tags

aspose-cloudsdkvdxvisio-diagramvisio-processingphpdiagramasposeaspose cloud

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

574.7M21](/packages/resend-resend-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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