PHPackages                             aspose/aspose-cad-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-cad-cloud

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

aspose/aspose-cad-cloud
=======================

This repository contains Aspose Cloud SDK for PHP source code. Aspose Cloud SDK for PHP lets PHP developers convert and process a variety of CAD and BIM file formats in the cloud quickly and easily.

24.5.1.x-dev(1y ago)3752[1 PRs](https://github.com/aspose-cad-cloud/aspose-cad-cloud-php/pulls)MITPHPPHP &gt;=5.5CI failing

Since Jun 21Pushed 1y ago2 watchersCompare

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

READMEChangelogDependencies (5)Versions (4)Used By (0)

[![](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579)](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579) [![Packagist Downloads](https://camo.githubusercontent.com/f16eb91ec13ac855a63dfc88f1138bf113b41e419eaeed1776c6744fde31b9d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6173706f73652f6173706f73652d6361642d636c6f7564)](https://camo.githubusercontent.com/f16eb91ec13ac855a63dfc88f1138bf113b41e419eaeed1776c6744fde31b9d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6173706f73652f6173706f73652d6361642d636c6f7564) [![Packagist PHP Version Support](https://camo.githubusercontent.com/ea7d85c379ef4fbaafbbd8ec814cb583eb4deebe7a0e37b247666f07d6bc610d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6173706f73652d6361642d636c6f7564)](https://camo.githubusercontent.com/ea7d85c379ef4fbaafbbd8ec814cb583eb4deebe7a0e37b247666f07d6bc610d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f6173706f73652d6361642d636c6f7564) [![GitHub license](https://camo.githubusercontent.com/dfd69f6d9f1684a15061bc69dfedddc88d2edaff897c5411e804b2083bd4b3a2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6173706f73652d6361642d636c6f75642f6173706f73652d6361642d636c6f75642d706870)](https://github.com/aspose-cad-cloud/aspose-cad-cloud-php/blob/master/LICENSE) [![GitHub last commit](https://camo.githubusercontent.com/807a422d751ab6302439fe508338a6c3f7f2b74d47467f2cf925e5985cb42b70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f4173706f73652d6361642d436c6f75642f6173706f73652d6361642d636c6f75642d706870)](https://camo.githubusercontent.com/807a422d751ab6302439fe508338a6c3f7f2b74d47467f2cf925e5985cb42b70/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f4173706f73652d6361642d436c6f75642f6173706f73652d6361642d636c6f75642d706870)

AutoCAD File Processing via PHP Cloud REST API
==============================================

[](#autocad-file-processing-via-php-cloud-rest-api)

[Aspose.CAD Cloud](https://products.aspose.cloud/cad) is a true [REST API](https://apireference.aspose.cloud/cad/) that enables you to perform a wide range of CAD and BIM drawings processing operations including manipulation, export and conversion in a cloud, with zero initial costs.

This repository contains [Aspose.CAD Cloud PHP SDK](https://products.aspose.cloud/cad/php) source code which is written in PHP. This SDK allows you to work with Aspose.CAD Cloud REST APIs in your PHP applications quickly and easily, with zero initial cost and gain all benefits of strong types and IDE highlights.

CAD Processing Features
-----------------------

[](#cad-processing-features)

- Export CAD drawings to other file formats.
- Get image properties of a CAD drawing.
- Change the scale of an AutoCAD sketch.
- Flip and rotate a CAD image.
- Upload or download CAD drawings to the cloud storage.
- Copy, move, delete CAD files from the cloud storage.

Read &amp; Write CAD Formats
----------------------------

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

DXF (R12/2007/2010)

Save CAD As
-----------

[](#save-cad-as)

*Fixed Layout*: PDF (as a vector and as a raster) *Images*: BMP, PNG, JPG, JPEG, JPEG2000, TIF, TIFF, PSD, GIF, WMF

Read CAD Formats
----------------

[](#read-cad-formats)

DWG (13, 14, 2000, 2004), DWG (2010, 2013, 2014), DWG (2015, 2017, 2018), DWT (13, 14, 2000, 2004), DWT (2010, 2013, 2014), DWT (2015, 2017, 2018), DWF, DGN v7, IGES (IGS), PLT, Industry Foundation Classes (IFC), STereoLithography (STL)

Look at [API Reference](https://apireference.aspose.cloud/cad/) for full API specification.

For the complete list of use-cases, please refer to the [format support document](https://docs.aspose.cloud/cad/supported-file-formats/) to see what you can achieve!

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

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.CAD Cloud PHP SDK**. Please, add the following [Packagist package](https://packagist.org/packages/aspose/aspose-cad-cloud) to your project.

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

```
{
    "require": {
        "aspose/aspose-cad-cloud": "24.5.2"
    }
}
```

Import the dependencies to your code as follows.

```
use \Aspose\CAD\CadApi;
use \Aspose\CAD\Configuration;
use \Aspose\CAD\Model;
use \Aspose\CAD\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/cad/developer-guide/). The [Getting Started Guide](https://docs.aspose.cloud/cad/getting-started/) will help you to become familiar with the common concepts.

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/aspose-cad-cloud) (recommended). For more details, please visit our [documentation website](https://docs.aspose.cloud/cad/available-sdks/).

#### Aspose.CAD Cloud-hosted service VS on-premise deployment

[](#asposecad-cloud-hosted-service-vs-on-premise-deployment)

You can choose either to use Aspose.CAD Cloud-hosted drawings 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 is described on the dedicated Docker Hub page.

### Prerequisites

[](#prerequisites)

To use Aspose CAD for Cloud Java 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).

The solution is updated using [code generator](https://github.com/aspose-CAD-cloud/aspose-CAD-cloud-codegen).

Convert DWG to PNG in PHP
-------------------------

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

```
	// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	$config = new Configuration();
	$config->setAppKey('MY_CLIENT_SECRET')->setAppSid('MY_CLIENT_ID');
	$api = new CadApi($config, null);

	$request = new Requests\PostDrawingSaveAsRequest(file_get_contents("d:\sample.dwg"), "png", null, null);
	$stream = $api->postDrawingSaveAs($request);
```

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

[](#dependencies)

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

Licensing
---------

[](#licensing)

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

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

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

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

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

641d ago

### Community

Maintainers

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

---

Top Contributors

[![Vitalii-Kornyliuk](https://avatars.githubusercontent.com/u/54004305?v=4)](https://github.com/Vitalii-Kornyliuk "Vitalii-Kornyliuk (21 commits)")[![Denis-Demenko](https://avatars.githubusercontent.com/u/35707340?v=4)](https://github.com/Denis-Demenko "Denis-Demenko (11 commits)")[![indapublic](https://avatars.githubusercontent.com/u/856260?v=4)](https://github.com/indapublic "indapublic (2 commits)")[![rizwanniazigroupdocs](https://avatars.githubusercontent.com/u/16472118?v=4)](https://github.com/rizwanniazigroupdocs "rizwanniazigroupdocs (2 commits)")[![babar-raza](https://avatars.githubusercontent.com/u/1225645?v=4)](https://github.com/babar-raza "babar-raza (1 commits)")[![Denys-Demenko](https://avatars.githubusercontent.com/u/31138951?v=4)](https://github.com/Denys-Demenko "Denys-Demenko (1 commits)")[![sohail-aspose](https://avatars.githubusercontent.com/u/8667577?v=4)](https://github.com/sohail-aspose "sohail-aspose (1 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

apisdkrestcloudimageexportdrawingconversionsvggifpngjpegjpgasposePSDtiffdxfBMPtifjp2cadjpeg2000stlobjj2kwmfDWGDWFDWTIGSDGNCF2DWFX

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[image-charts/image-charts

Official Image-Charts.com API client library

2762.3k](/packages/image-charts-image-charts)[zenditplatform/zendit-php-sdk

PHP client for Zendit API

1204.3k](/packages/zenditplatform-zendit-php-sdk)

PHPackages © 2026

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