PHPackages                             aspose/tasks-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. aspose/tasks-sdk-php

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

aspose/tasks-sdk-php
====================

This repository contains Aspose.Tasks Cloud SDK for PHP source code. Aspose.Tasks Cloud SDK for PHP lets PHP developers manipulate or convert Microsoft Project documents hosted on a cloud platform quickly and easily.

v25.11(6mo ago)323MITPHPPHP &gt;=5.5CI failing

Since Mar 29Pushed 6mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (23)Used By (0)

[![](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579)](https://camo.githubusercontent.com/d0c4c19c3f6da4ee314a94c798c0e45afc03387eb4e84b40d4b819920e572f27/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6170692d76332e302d6c6967687467726579) [![Packagist Version](https://camo.githubusercontent.com/d567389199f225df855b782c5ad46b530c28659748e51fb71f088043158fae58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f7461736b732d73646b2d706870)](https://camo.githubusercontent.com/d567389199f225df855b782c5ad46b530c28659748e51fb71f088043158fae58/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6173706f73652f7461736b732d73646b2d706870) [![Packagist Downloads](https://camo.githubusercontent.com/972963e62551ed906322faf7ae074d04367e9b6cd536e28dceaf55af7a6496d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6173706f73652f7461736b732d73646b2d706870)](https://camo.githubusercontent.com/972963e62551ed906322faf7ae074d04367e9b6cd536e28dceaf55af7a6496d2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6173706f73652f7461736b732d73646b2d706870) [![Packagist PHP Version Support](https://camo.githubusercontent.com/8c1c4f040c4980e964082da6b86b032ea311c9d962de37ec7a619176eb9d717b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f7461736b732d73646b2d706870)](https://camo.githubusercontent.com/8c1c4f040c4980e964082da6b86b032ea311c9d962de37ec7a619176eb9d717b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6173706f73652f7461736b732d73646b2d706870) [![GitHub license](https://camo.githubusercontent.com/aa5b66e22b850ff29433413334fd332b9f2a433fa63417d36d8df54e1eda798b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6173706f73652d7461736b732d636c6f75642f6173706f73652d7461736b732d636c6f75642d706870)](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php/blob/master/LICENSE) [![GitHub last commit](https://camo.githubusercontent.com/7fcb59bc2c581bef52dd4da7117f4d0e18511d6e2a55508c8d1b8c872c80191c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f4173706f73652d7461736b732d436c6f75642f6173706f73652d7461736b732d636c6f75642d706870)](https://camo.githubusercontent.com/7fcb59bc2c581bef52dd4da7117f4d0e18511d6e2a55508c8d1b8c872c80191c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f4173706f73652d7461736b732d436c6f75642f6173706f73652d7461736b732d636c6f75642d706870)

Manipulate MS Project Files in PHP via Cloud REST API
=====================================================

[](#manipulate-ms-project-files-in-php-via-cloud-rest-api)

Aspose.Tasks for Cloud offers the ability to manipulate and convert Microsoft Project MPT, MPP, MPX &amp; Oracle Primavera XER, XML, and PrimaveraP6XML files in PHP. [Aspose.Tasks Cloud SDK for PHP](https://products.aspose.cloud/tasks/php) wraps the REST API to make it easier for the developers to integrate MS Project Task Management features in their own cloud-based PHP applications on Linux, MacOS, Windows or Android.

Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/taskscloud/Developer+Guide) &amp; [API Reference](https://apireference.aspose.cloud/tasks/) to know all about Aspose.Tasks Cloud API.

MS Project Processing Features
------------------------------

[](#ms-project-processing-features)

- Add project assignments or delete project assignments along with their references.
- Get the project's outline codes by index &amp; get links to all project tasks.
- Import projects from Primavera DB formats or from databases with the specified connection string.
- Get UIDs of all projects contained in the file &amp; fetch the required assignment with the project based on UID.
- Manage project tasks, resource data, calendars &amp; Work Breakdown Structure (WBS).
- Perform risk analysis using Monte Carlo simulation and create a report.
- Create and set project document properties &amp; fetch all or specific existing properties.
- Get a project's extended attributes, time-scaled data, or recurring info of a specific task.
- Reschedule project tasks, dates, and other settings.
- Calculate slacks &amp; recalculate project completion or incompletion work.
- Fetch a project document in the desired format.
- Delete project task with its related references &amp; rebuild the task tree.
- [Convert project documents](https://docs.aspose.cloud/tasks/convert-project-document-to-the-specified-format/) to other formats.
- Manipulate task data.
- [Manage project's resources](https://docs.aspose.cloud/tasks/working-with-resources/).
- Handle task links &amp; task assignments.
- Work with project's extended attributes.
- [Read Microsoft Project’s document properties](https://docs.aspose.cloud/tasks/working-with-calendars/) such as start and finish date, tasks scheduling types and so on.
- [Read Microsoft Project’s Calendars](https://docs.aspose.cloud/tasks/working-with-calendars/) and Calendar Exceptions information.

Read &amp; Write Project Data
-----------------------------

[](#read--write-project-data)

**Microsoft Project** MPP, XML, MPT **Primavera** MPX

Save Project Data As
--------------------

[](#save-project-data-as)

XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG

Enhancements in Version 25.11
-----------------------------

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

- Enhanced reading data from Primavera-specific task's properties.

Enhancements in Version 25.8
----------------------------

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

- Added new ability to level tasks for the resources.
- Provided the ability to clear leveling delay that was previously added to the tasks during resource leveling.

Enhancements in Version 25.4
----------------------------

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

- Enhanced Task model.
- Enhanced TaskLink model.
- Enhanced ProjectRecalculationResult model.

Enhancements in Version 24.11
-----------------------------

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

- Enhanced reading data from Primavera-specific task's properties.

Enhancements in Version 24.4
----------------------------

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

- Added new ability to get views information.
- Possibility to modify table text styles for Gantt Chart views.

Enhancements in Version 22.12
-----------------------------

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

- Added new ability to read Primavera-specific task's properties.
- Provided the ability to read more document properties.

Enhancements in Version 20.11
-----------------------------

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

- Support for the batch creation of tasks (i.e. the ability to create multiple tasks in a single *API* call).

Enhancements in Version 20.8
----------------------------

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

- Ability to specify the non-default path for Project Server's *PWA* URL.
- Ability to modify *timephasedData* collection in assignments.

Enhancements in Version 20.6
----------------------------

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

- Possibility to render comments when saving as image, HTML or PDF.
- Option to use username and password to connect Project Online (Server) instead of auth token, incase you don't have it.
- Ability to add assignments to your project file along with specifying its cost.
- Quickly adding new tasks to project, when calculation mode is set to automatic.
- Ability to add project in Microsoft Project Server.
- Added support of reading shared resource assignments.

Get Started with Aspose.Tasks Cloud SDK for PHP
-----------------------------------------------

[](#get-started-with-asposetasks-cloud-sdk-for-php)

Register an account at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/#/apps) to get you application information. Next, either directly use the source from this repository in your project or get the package from [Packagist distribution](https://packagist.org/packages/aspose/tasks-sdk-php).

### Install Via Composer

[](#install-via-composer)

Aspose.Tasks Cloud SDK for PHP is available at Packagist. Run the following command to get it through Composer.

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

Run Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading) to start using the SDK.

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

See [composer.json](composer.json) for details about the referenced packages.

Convert MS Project MPP to PDF in PHP
------------------------------------

[](#convert-ms-project-mpp-to-pdf-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 TasksApi(null, $config);

	// upload file to cloud
	$fullName = 'template.mpp';
	$upload_result = $api->uploadFile($Path = realpath(__DIR__ . '/../../..') . '/TestData/' . $fullName, $fullName);

	// save as pdf file
	$request = new Requests\GetReportPdfRequest($fullName, Model\ReportType::MILESTONES, self::$storageName, $folder));
	$result = $api->getReportPdf($request);
```

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

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

.NETPHPPythonNode.jsGo[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-dotnet)[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php)[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-python)[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-node)[GitHub](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-go)[NuGet](https://www.nuget.org/packages/Aspose.tasks-Cloud/)[Composer](https://packagist.org/packages/aspose/tasks-cloud-php)[PIP](https://pypi.org/project/aspose-tasks-cloud/)[NPM](https://www.npmjs.com/package/@asposecloud/aspose-tasks-cloud)[Go.Dev](https://pkg.go.dev/github.com/aspose-tasks-cloud/aspose-tasks-cloud-go/)[Product Page](https://products.aspose.cloud/tasks/php) | [Documentation](https://docs.aspose.cloud/display/taskscloud/Home) | [API Reference](https://apireference.aspose.cloud/tasks/) | [Code Samples](https://github.com/aspose-tasks-cloud/aspose-tasks-cloud-php) | [Blog](https://blog.aspose.cloud/category/tasks/) | [Free Support](https://forum.aspose.cloud/c/tasks) | [Free Trial](https://dashboard.aspose.cloud/#/apps)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance66

Regular maintenance activity

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 84.4% 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 ~132 days

Recently: every ~95 days

Total

22

Last Release

204d ago

Major Versions

v19.12 → v20.62020-07-03

v20.11 → v21.22021-03-03

v21.10 → v22.012022-01-28

v22.12 → v24.42024-04-26

v24.11 → v25.42025-04-12

### 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

[![IvanAndreychikov](https://avatars.githubusercontent.com/u/46858239?v=4)](https://github.com/IvanAndreychikov "IvanAndreychikov (27 commits)")[![babar-raza](https://avatars.githubusercontent.com/u/1225645?v=4)](https://github.com/babar-raza "babar-raza (3 commits)")[![rizwanniazigroupdocs](https://avatars.githubusercontent.com/u/16472118?v=4)](https://github.com/rizwanniazigroupdocs "rizwanniazigroupdocs (2 commits)")

---

Tags

aspose-cloudaspose-taskscalendarscomposerconversionmicrosoft-projectmppmptmpxoracle-primaverapackagistphpprimaverap6xmlsdktasks-cloudxerxmlphpasposeaspose cloudMicrosoft Projectmppms projectprimaveramicrosoft project onlinemicrosoft project server

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.9k496.1k32](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3751.2M45](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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