Aspose.Diagram Cloud SDK for 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.
- Convert diagrams 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 to see what else you can achieve.
Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM
Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, TIFF, SVG, EMF Web: HTML Other: XAML, SWF
Microsoft Visio: VDW, VSD, VSS, VST
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.
The complete source code is available at the GitHub Repository. You can either directly use it in your project via source code or get Packagist distribution (recommended). For more details, please visit our documentation website.
To use Aspose Cells Cloud SDK you need to register an account with Aspose Cloud and lookup/create App Key and SID at Cloud Dashboard. There is free quota available. For more details, see Aspose Cloud Pricing.
diagram-sdk-php is available on Packagist as the diagram-sdk-php
package. Run the following command:
composer require aspose/diagram-sdk-php
To use the SDK, use Composer's autoload:
require_once('vendor/autoload.php');
Please, look at Examples document for basic usage or use the Examples folder for more sophisticated scenarios.
// 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");
.NET | Java | PHP | Python | Ruby | Node.js | Android | Perl | Swift |
---|---|---|---|---|---|---|---|---|
GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub | GitHub |
NuGet | Maven | Composer | PIP | GEM | NPM | Maven | CPAN | POD |
Home | Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial